Advertise toggleFullscreen() in example code

This commit is contained in:
Elias Batek 2023-12-27 17:55:32 +01:00
parent 48c24ae56d
commit 115f11a037
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@
}, delegate(MouseEvent ev) {
// toggle fullscreen mode on double-click
if (ev.doubleClick) {
presenter.isFullscreen = !presenter.isFullscreen;
presenter.toggleFullscreen();
}
});
}