1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-14 19:05:15 +00:00

fix: stopped allowing F1 to create more than one help dialog window in the Charting Editor

This commit is contained in:
amyspark-ng ✨ 2024-10-03 11:52:19 -05:00 committed by Cameron Taylor
parent 711e0a6b75
commit 777978f5a5

View file

@ -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