mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-04-21 19:31:52 -04:00
ctrl click on hold note null reference fix
This commit is contained in:
parent
5054c58dca
commit
11e62913f5
1 changed files with 2 additions and 2 deletions
|
@ -4403,7 +4403,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
|
|||
else if (highlightedHoldNote != null && highlightedHoldNote.noteData != null)
|
||||
{
|
||||
// Control click to select/deselect an individual note.
|
||||
if (isNoteSelected(highlightedNote.noteData))
|
||||
if (isNoteSelected(highlightedHoldNote.noteData))
|
||||
{
|
||||
performCommand(new DeselectItemsCommand([highlightedHoldNote.noteData], []));
|
||||
}
|
||||
|
@ -4695,7 +4695,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
|
|||
}
|
||||
else if (highlightedHoldNote != null && highlightedHoldNote.noteData != null)
|
||||
{
|
||||
if (isNoteSelected(highlightedNote.noteData))
|
||||
if (isNoteSelected(highlightedHoldNote.noteData))
|
||||
{
|
||||
performCommand(new DeselectItemsCommand([highlightedHoldNote.noteData], []));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue