fix: force canvas redraw after BPM duration recalculation

This commit is contained in:
2026-07-27 08:36:14 +07:00
parent 3c12ce2a22
commit 3a84323dd8
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -6420,6 +6420,8 @@ const App = () => {
}
}
prevBpmRef.current = bpm;
// Force canvas redraw
setCanvasRedrawCount(n => n + 1);
// Recalculate item/section durations
updateActiveTracks(prev => prev.map(t => ({
...t,