Skip to content

Commit

Permalink
the checkbox is now grouped together with the rest
Browse files Browse the repository at this point in the history
  • Loading branch information
AbnormalPoof committed Jan 26, 2025
1 parent d949bcd commit c8e3c1a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions source/funkin/ui/options/PreferencesMenu.hx
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,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 {
Expand All @@ -123,10 +126,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
Expand Down

0 comments on commit c8e3c1a

Please sign in to comment.