🐛 Restore fold-containers as the combo master gate

Since fold-unchanged and depth folding arrived, withCombos ORed them in, so unchecking "fold containers" could no longer remove the combo boxes. The checkbox is the gate again; the derived fold rules are dormant without it.

Signed-off-by: Álvaro Tejero Cantero <alvorithm@teje.ro>
This commit is contained in:
Álvaro Tejero Cantero 2026-07-16 23:36:14 +02:00
parent 2a515a1527
commit d11d3060ea
No known key found for this signature in database

View File

@ -1070,8 +1070,9 @@ Graph Console
}
if (anywayBtn) anywayBtn.style.display = "none";
graphViewStatus.textContent = graphStatusText(data) + filterNote;
renderGraph(toG6Data(shown, collapsedComboIds(),
foldEnabled() || diffFoldEnabled() || depthFoldValue() != null,
// "fold containers" is the master gate for combo rendering; the
// derived fold rules (fold-unchanged, depth) are dormant without it.
renderGraph(toG6Data(shown, collapsedComboIds(), foldEnabled(),
LAYOUTS[currentLayoutName()] == null, diffFoldEnabled()));
}