fix(graph): always run kanban layout — tasks were not positioned in columns

This commit is contained in:
iliya 2026-03-28 20:51:29 +02:00
parent ccd11a5eb0
commit 0e966e712e

View file

@ -265,10 +265,8 @@ function tickFrame(
}
}
// Re-layout tasks in kanban zones ONLY when members moved (alpha > 0 or drag)
if (!sim || sim.alpha() > 0.001 || state.particles.length > 0) {
KanbanLayoutEngine.layout(state.nodes);
}
// Re-layout tasks in kanban zones — always run to handle new/moved tasks
KanbanLayoutEngine.layout(state.nodes);
// Update particle progress — in-place removal (no new array allocation)
let pw = 0;