aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/frontend/html
diff options
context:
space:
mode:
authorMtBntChvn <[email protected]>2026-02-20 23:21:36 +0000
committerMtBntChvn <[email protected]>2026-02-20 23:21:36 +0000
commitedca462e0085791cf6ec3a827b4ca2e8ffac2be8 (patch)
treea7b336478b1ba878a28f2112f6c13f83b52445bf /src/zenserver/frontend/html
parentremove breadcrumb path dimming from graph nodes (diff)
downloadzen-edca462e0085791cf6ec3a827b4ca2e8ffac2be8.tar.xz
zen-edca462e0085791cf6ec3a827b4ca2e8ffac2be8.zip
fix collapsed nodes not re-expandable
mark_has_deps was setting has_deps=false on ALL nodes not in the check set, including previously collapsed nodes that have deps. The click guard (has_deps !== false) then blocked re-expansion. Fix: only set has_deps=false on nodes not yet checked (undefined). Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Diffstat (limited to 'src/zenserver/frontend/html')
-rw-r--r--src/zenserver/frontend/html/util/graphengine.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenserver/frontend/html/util/graphengine.js b/src/zenserver/frontend/html/util/graphengine.js
index f11aa065a..3ac4d97a7 100644
--- a/src/zenserver/frontend/html/util/graphengine.js
+++ b/src/zenserver/frontend/html/util/graphengine.js
@@ -766,7 +766,7 @@ export class GraphEngine
continue;
if (opkey_set.has(node.opkey))
node.has_deps = true;
- else if (!node.unresolved)
+ else if (!node.unresolved && node.has_deps === undefined)
node.has_deps = false;
}
this.render();