mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-12-09 13:39:12 +00:00
Switching difficulty now forces the selection to be cleared.
This commit is contained in:
parent
adb96897dc
commit
53c62e219b
|
|
@ -1739,6 +1739,10 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
|
|||
noteTooltipsDirty = true;
|
||||
notePreviewViewportBoundsDirty = true;
|
||||
|
||||
// Switching difficulties should automatically clear the selection.
|
||||
currentNoteSelection = [];
|
||||
currentEventSelection = [];
|
||||
|
||||
switchToCurrentInstrumental();
|
||||
postLoadInstrumental();
|
||||
|
||||
|
|
@ -1762,6 +1766,10 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
|
|||
noteTooltipsDirty = true;
|
||||
notePreviewViewportBoundsDirty = true;
|
||||
|
||||
// Switching difficulties should automatically clear the selection.
|
||||
currentNoteSelection = [];
|
||||
currentEventSelection = [];
|
||||
|
||||
return selectedDifficulty;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue