This repository was archived by the owner on Aug 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,13 +150,13 @@ class DebugSubState extends MusicBeatSubState
150150 });
151151 }
152152
153- if (FlxG .keys .pressed .F3 && FlxG .keys .pressed .C && ! Application .current .window .maximized )
153+ if (FlxG .keys .pressed .F3 && FlxG .keys .pressed .C && ! Application .current .window .maximized && ! Application . current . window . fullscreen )
154154 {
155155 #if windows
156156 CppAPI .centerWindow ();
157157 #else
158- setWinPositionInX (Std .int ((getScreenSizeInWidth () - getWindowSizeInWidth ()) / 2 ));
159- setWinPositionInY (Std .int ((getScreenSizeInHeight () - getWindowSizeInHeight ()) / 2 ));
158+ WindowFuncs . setWinPositionInX (Std .int ((WindowFuncs . getScreenSizeInWidth () - WindowFuncs . getWindowSizeInWidth ()) / 2 ));
159+ WindowFuncs . setWinPositionInY (Std .int ((WindowFuncs . getScreenSizeInHeight () - WindowFuncs . getWindowSizeInHeight ()) / 2 ));
160160 #end
161161 }
162162
Original file line number Diff line number Diff line change @@ -810,13 +810,16 @@ class WeekEditorFreeplayState extends MusicBeatState implements PsychUIEventHand
810810 else
811811 {
812812 ClientPrefs .toggleVolumeKeys (true );
813- if (! WeekEditorState .unsavedProgress )
814- {
815- MusicBeatState .switchState (new MasterEditorMenu ());
816- FlxG .sound .playMusic (SlushiMain .getSLEPath (" Musics/SLE_HackNet_Resonance.ogg" ));
813+ if (FlxG .keys .justPressed .ESCAPE ) {
814+ if (! WeekEditorState .unsavedProgress )
815+ {
816+ MusicBeatState .switchState (new MasterEditorMenu ());
817+ FlxG .sound .playMusic (SlushiMain .getSLEPath (" Musics/SLE_HackNet_Resonance.ogg" ));
818+ }
819+ else {
820+ openSubState (new ExitConfirmationPrompt ());
821+ }
817822 }
818- else
819- openSubState (new ExitConfirmationPrompt ());
820823
821824 if (controls. UI_UP_P ) changeSelection (- 1 );
822825 if (controls. UI_DOWN_P ) changeSelection (1 );
Original file line number Diff line number Diff line change 11{
2- "engineVersion" : " 0.3.4 "
2+ "engineVersion" : " 0.3.5 "
33}
You can’t perform that action at this time.
0 commit comments