Skip to content

Commit 777978f

Browse files
amyspark-ngninjamuffin99
authored andcommitted
fix: stopped allowing F1 to create more than one help dialog window in the Charting Editor
1 parent 711e0a6 commit 777978f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎source/funkin/ui/debug/charting/ChartEditorState.hx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5654,7 +5654,9 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
56545654
function handleHelpKeybinds():Void
56555655
{
56565656
// F1 = Open Help
5657-
if (FlxG.keys.justPressed.F1) this.openUserGuideDialog();
5657+
if (FlxG.keys.justPressed.F1 && !isHaxeUIDialogOpen) {
5658+
this.openUserGuideDialog();
5659+
}
56585660
}
56595661

56605662
function handleQuickWatch():Void

0 commit comments

Comments
 (0)