mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 01:55:52 -05:00
Merge pull request #243 from FunkinCrew/mac-delete
Mac chart editor delete key fix
This commit is contained in:
commit
b39e952408
1 changed files with 8 additions and 1 deletions
|
@ -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