From 115f11a03752cb814c478336cbf20841bc4338e0 Mon Sep 17 00:00:00 2001 From: Elias Batek Date: Wed, 27 Dec 2023 17:55:32 +0100 Subject: [PATCH] Advertise toggleFullscreen() in example code --- pixmappresenter.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixmappresenter.d b/pixmappresenter.d index bf030ac..597149a 100644 --- a/pixmappresenter.d +++ b/pixmappresenter.d @@ -149,7 +149,7 @@ }, delegate(MouseEvent ev) { // toggle fullscreen mode on double-click if (ev.doubleClick) { - presenter.isFullscreen = !presenter.isFullscreen; + presenter.toggleFullscreen(); } }); }