mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-30 10:44:37 +00:00
mac delete key fix
This commit is contained in:
parent
cf41eb661d
commit
7876b07c37
|
@ -4480,7 +4480,14 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
|
|||
}
|
||||
|
||||
// DELETE = Delete
|
||||
if (FlxG.keys.justPressed.DELETE)
|
||||
var delete:Bool = FlxG.keys.justPressed.DELETE;
|
||||
|
||||
// on macbooks, Delete == backspace
|
||||
#if mac
|
||||
delete = delete || FlxG.keys.justPressed.BACKSPACE;
|
||||
#end
|
||||
|
||||
if (delete)
|
||||
{
|
||||
// Delete selected items.
|
||||
if (currentNoteSelection.length > 0 && currentEventSelection.length > 0)
|
||||
|
|
Loading…
Reference in a new issue