mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-07-29 15:30:10 -04:00
Open hold note context menu if note is hold note
This commit is contained in:
parent
5054c58dca
commit
f4a63ccdfd
1 changed files with 4 additions and 1 deletions
|
@ -4814,7 +4814,10 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
|
|||
// Show the context menu connected to the note.
|
||||
if (useSingleNoteContextMenu)
|
||||
{
|
||||
this.openNoteContextMenu(FlxG.mouse.viewX, FlxG.mouse.viewY, highlightedNote.noteData);
|
||||
// Open the hold note menu instead if the highlighted note has a length value
|
||||
if (highlightedNote.noteData.length > 0) this.openHoldNoteContextMenu(FlxG.mouse.viewX, FlxG.mouse.viewY, highlightedNote.noteData);
|
||||
else
|
||||
this.openNoteContextMenu(FlxG.mouse.viewX, FlxG.mouse.viewY, highlightedNote.noteData);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue