mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-03-23 18:39:33 +00:00
Merge remote-tracking branch 'origin/feature/chart-editor-file-keybinds' into HEAD
This commit is contained in:
commit
acadec80de
|
@ -2942,6 +2942,18 @@ class ChartEditorState extends HaxeUIState
|
||||||
*/
|
*/
|
||||||
function handleFileKeybinds():Void
|
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
|
// CTRL + Q = Quit to Menu
|
||||||
if (FlxG.keys.pressed.CONTROL && FlxG.keys.justPressed.Q)
|
if (FlxG.keys.pressed.CONTROL && FlxG.keys.justPressed.Q)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue