From 36df61ba9e0c6dfa26634392bd46bc40e0b031d2 Mon Sep 17 00:00:00 2001 From: Abnormal <86753001+AbnormalPoof@users.noreply.github.com> Date: Sun, 20 Oct 2024 10:02:18 -0500 Subject: [PATCH] the checkbox is now grouped together with the rest --- source/funkin/ui/options/PreferencesMenu.hx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/source/funkin/ui/options/PreferencesMenu.hx b/source/funkin/ui/options/PreferencesMenu.hx index 85718e722..24e86db5c 100644 --- a/source/funkin/ui/options/PreferencesMenu.hx +++ b/source/funkin/ui/options/PreferencesMenu.hx @@ -114,6 +114,9 @@ class PreferencesMenu extends Page createPrefItemCheckbox('Auto Pause', 'If enabled, game automatically pauses when it loses focus.', function(value:Bool):Void { Preferences.autoPause = value; }, Preferences.autoPause); + createPrefItemCheckbox('Launch in Fullscreen', 'Automatically launch the game in fullscreen on startup', function(value:Bool):Void { + Preferences.autoFullscreen = value; + }, Preferences.autoFullscreen); #if web createPrefItemCheckbox('Unlocked Framerate', 'Enable to unlock the framerate', function(value:Bool):Void { @@ -124,10 +127,6 @@ class PreferencesMenu extends Page Preferences.framerate = Std.int(value); }, null, Preferences.framerate, 30, 300, 5, 0); #end - - createPrefItemCheckbox('Launch in Fullscreen', 'Automatically launch the game in fullscreen on startup', function(value:Bool):Void { - Preferences.autoFullscreen = value; - }, Preferences.autoFullscreen); } override function update(elapsed:Float):Void