From 777978f5a544e1b7c89b47dcc365f734eb6d0df1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?amyspark-ng=20=E2=9C=A8?= <92493175+amyspark-ng@users.noreply.github.com> Date: Thu, 3 Oct 2024 11:52:19 -0500 Subject: [PATCH] fix: stopped allowing F1 to create more than one help dialog window in the Charting Editor --- source/funkin/ui/debug/charting/ChartEditorState.hx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/funkin/ui/debug/charting/ChartEditorState.hx b/source/funkin/ui/debug/charting/ChartEditorState.hx index 8b646ddb6..3fb63a4f1 100644 --- a/source/funkin/ui/debug/charting/ChartEditorState.hx +++ b/source/funkin/ui/debug/charting/ChartEditorState.hx @@ -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