mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 01:55:52 -05:00
Merge pull request #148 from FunkinCrew/feature/chart-editor-file-keybinds
Chart Editor: Added missing File menu keybinds
This commit is contained in:
commit
eae1723d87
1 changed files with 12 additions and 0 deletions
|
@ -2933,6 +2933,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.O)
|
||||
{
|
||||
ChartEditorDialogHandler.openBrowseWizard(this, true);
|
||||
}
|
||||
|
||||
// CTRL + Q = Quit to Menu
|
||||
if (FlxG.keys.pressed.CONTROL && FlxG.keys.justPressed.Q)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue