Skip to content

Commit

Permalink
fix: stopped allowing F1 to create more than one help dialog window i…
Browse files Browse the repository at this point in the history
…n the Charting Editor
  • Loading branch information
amyspark-ng authored and ninjamuffin99 committed Oct 4, 2024
1 parent 711e0a6 commit 777978f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/funkin/ui/debug/charting/ChartEditorState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -5654,7 +5654,9 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
function handleHelpKeybinds():Void
{
// F1 = Open Help
if (FlxG.keys.justPressed.F1) this.openUserGuideDialog();
if (FlxG.keys.justPressed.F1 && !isHaxeUIDialogOpen) {
this.openUserGuideDialog();
}
}

function handleQuickWatch():Void
Expand Down

0 comments on commit 777978f

Please sign in to comment.