Skip to content

Commit

Permalink
no one was around to fix this bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Lasercar committed Feb 10, 2025
1 parent 6f40aea commit 3df1452
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/funkin/ui/debug/stageeditor/StageEditorState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ class StageEditorState extends UIState
if (FlxG.keys.justPressed.DELETE) onMenuItemClick("delete object");
if (FlxG.keys.justPressed.ENTER) onMenuItemClick("test stage");
if (FlxG.keys.justPressed.ESCAPE) onMenuItemClick("exit");
if (FlxG.keys.justPressed.F1) onMenuItemClick("user guide");
if (FlxG.keys.justPressed.F1 && welcomeDialog == null && userGuideDialog == null) onMenuItemClick("user guide");

if (FlxG.keys.justPressed.T)
{
Expand Down Expand Up @@ -1269,6 +1269,10 @@ class StageEditorState extends UIState
userGuideDialog = new UserGuideDialog();
userGuideDialog.showDialog();

userGuideDialog.onDialogClosed = function(_) {
userGuideDialog = null;
}

case "open folder":
#if sys
var absoluteBackupsPath:String = haxe.io.Path.join([Sys.getCwd(), BACKUPS_PATH]);
Expand Down

0 comments on commit 3df1452

Please sign in to comment.