Fix events still moving when not moved

This commit is contained in:
Lasercar 2025-02-20 01:15:23 +10:00
parent d52f750154
commit 3b4b7764ee

View file

@ -4570,6 +4570,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
else if (dragTargetEvent != null)
{
data = ChartEditorState.STRUMLINE_SIZE * 2 + 1;
noteGridPos = noteDataToGridColumn(data) - 1;
}
var dragDistanceColumns:Int = cursorGridPos - noteGridPos;