Skip to content

Commit be812cd

Browse files
committed
Fix unstacked chart events
1 parent 272f862 commit be812cd

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

source/funkin/editors/charter/Charter.hx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,14 @@ class Charter extends UIState {
648648
if (lastEvents != null && lastTime == e.time) lastEvents.events.push(e);
649649
else {
650650
lastEvents = new CharterEvent(Conductor.getStepForTime(lastTime = e.time), [e], e.global);
651-
(e.global ? rightEventsGroup : leftEventsGroup).add(lastEvents);
651+
if (e.global) {
652+
rightEventsGroup.add(lastEvents);
653+
lastRightEvents = lastEvents;
654+
}
655+
else {
656+
leftEventsGroup.add(lastEvents);
657+
lastLeftEvents = lastEvents;
658+
}
652659
}
653660
}
654661

0 commit comments

Comments
 (0)