summaryrefslogtreecommitdiff
path: root/node.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-06 13:53:15 -0600
committerJeff Carr <[email protected]>2024-01-06 13:53:15 -0600
commitb3dfc689abe6699112518ddaf5e12aa87ef931f8 (patch)
tree2f5e14ac484ac45e52e58a57dd95f904a0d38094 /node.go
parentd075b29aff66e784a615a0a3e436ae7433556789 (diff)
sierpinski carpet mode
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'node.go')
-rw-r--r--node.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.go b/node.go
index 518b768..b45269e 100644
--- a/node.go
+++ b/node.go
@@ -19,6 +19,7 @@ func (n *Node) newNode(title string, t widget.WidgetType) *Node {
}
newN.AtW = n.NextW
newN.AtH = n.NextH
+ newN.hidden = n.hidden // by default, use the value from above
n.children = append(n.children, newN)
newN.parent = n