From 2b092abd8abad84ef0bf1cf38c0ed980325441a7 Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Mon, 4 Sep 2023 15:33:08 -0400 Subject: [PATCH 1/2] Added missing File menu keybinds --- source/funkin/ui/debug/charting/ChartEditorState.hx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/funkin/ui/debug/charting/ChartEditorState.hx b/source/funkin/ui/debug/charting/ChartEditorState.hx index f27fbb6c7..e51a94177 100644 --- a/source/funkin/ui/debug/charting/ChartEditorState.hx +++ b/source/funkin/ui/debug/charting/ChartEditorState.hx @@ -2899,6 +2899,18 @@ class ChartEditorState extends HaxeUIState */ function handleFileKeybinds():Void { + // CTRL + N = New Chart + if (FlxG.keys.pressed.CONTROL && FlxG.keys.justPressed.N) + { + ChartEditorDialogHandler.openWelcomeDialog(this, true); + } + + // CTRL + O = Open Chart + if (FlxG.keys.pressed.CONTROL && FlxG.keys.justPressed.N) + { + ChartEditorDialogHandler.openBrowseWizard(this, true); + } + // CTRL + Q = Quit to Menu if (FlxG.keys.pressed.CONTROL && FlxG.keys.justPressed.Q) { From e02dee2601f728ab3a40a1125400465bb8b0fa94 Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Tue, 12 Sep 2023 22:34:49 -0400 Subject: [PATCH 2/2] fixed N -> O typo? --- source/funkin/ui/debug/charting/ChartEditorState.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/ui/debug/charting/ChartEditorState.hx b/source/funkin/ui/debug/charting/ChartEditorState.hx index e51a94177..45a9c98a7 100644 --- a/source/funkin/ui/debug/charting/ChartEditorState.hx +++ b/source/funkin/ui/debug/charting/ChartEditorState.hx @@ -2906,7 +2906,7 @@ class ChartEditorState extends HaxeUIState } // CTRL + O = Open Chart - if (FlxG.keys.pressed.CONTROL && FlxG.keys.justPressed.N) + if (FlxG.keys.pressed.CONTROL && FlxG.keys.justPressed.O) { ChartEditorDialogHandler.openBrowseWizard(this, true); }