Fix unstacked chart events

This commit is contained in:
Ralty
2025-08-06 02:26:29 +07:00
parent 272f862c69
commit be812cd2ec
+8 -1
View File
@@ -648,7 +648,14 @@ class Charter extends UIState {
if (lastEvents != null && lastTime == e.time) lastEvents.events.push(e);
else {
lastEvents = new CharterEvent(Conductor.getStepForTime(lastTime = e.time), [e], e.global);
(e.global ? rightEventsGroup : leftEventsGroup).add(lastEvents);
if (e.global) {
rightEventsGroup.add(lastEvents);
lastRightEvents = lastEvents;
}
else {
leftEventsGroup.add(lastEvents);
lastLeftEvents = lastEvents;
}
}
}