fix(graph): always run kanban layout — tasks were not positioned in columns
This commit is contained in:
parent
ccd11a5eb0
commit
0e966e712e
1 changed files with 2 additions and 4 deletions
|
|
@ -265,10 +265,8 @@ function tickFrame(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Re-layout tasks in kanban zones ONLY when members moved (alpha > 0 or drag)
|
// Re-layout tasks in kanban zones — always run to handle new/moved tasks
|
||||||
if (!sim || sim.alpha() > 0.001 || state.particles.length > 0) {
|
KanbanLayoutEngine.layout(state.nodes);
|
||||||
KanbanLayoutEngine.layout(state.nodes);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Update particle progress — in-place removal (no new array allocation)
|
// Update particle progress — in-place removal (no new array allocation)
|
||||||
let pw = 0;
|
let pw = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue