mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-05 06:14:36 +00:00
Merge pull request #243 from FunkinCrew/mac-delete
Mac chart editor delete key fix
This commit is contained in:
commit
b39e952408
|
@ -4549,7 +4549,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