From 45ba0cb7a64c7a08c8c8bf015f0b7bfabfdcebf8 Mon Sep 17 00:00:00 2001 From: Lasercar Date: Thu, 20 Feb 2025 01:15:23 +1000 Subject: [PATCH] Fix events still moving when not moved --- source/funkin/ui/debug/charting/ChartEditorState.hx | 1 + 1 file changed, 1 insertion(+) diff --git a/source/funkin/ui/debug/charting/ChartEditorState.hx b/source/funkin/ui/debug/charting/ChartEditorState.hx index 5692eab2f..17745bde7 100644 --- a/source/funkin/ui/debug/charting/ChartEditorState.hx +++ b/source/funkin/ui/debug/charting/ChartEditorState.hx @@ -4747,6 +4747,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;