Skip to content
Snippets Groups Projects
Commit b736abdd authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Close waterfall nodes by default.

parent d39e3c7a
No related branches found
No related tags found
No related merge requests found
......@@ -318,8 +318,9 @@ function buildVisibleDecompositions1(
}
if (visibleChildren !== undefined) {
visibleDecomposition.visibleChildren = visibleChildren
if (decomposition.open === undefined) {
decomposition.open = depth < 1
// if ((trunk || depth < 1) && !decomposition.open) {
if (trunk && !decomposition.open) {
decomposition.open = true
}
} else if (decomposition.open) {
delete decomposition.open
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment