Skip to content

Commit

Permalink
Update WindowUtil.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackx2 committed Aug 28, 2024
1 parent fda7c5f commit 04a311f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/funkin/backend/utils/native/WindowUtil.hx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ class WindowUtil
public static function darkMode(enable:Bool)
{
trace('Darkmode ${enable ? 'Enabled' : 'Disabled'}');

// Windows 10 support?
lime.app.Application.current.window.borderless = true;
lime.app.Application.current.window.borderless = false;
}
#end

Expand Down

0 comments on commit 04a311f

Please sign in to comment.