summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-19 05:54:55 -0600
committerJeff Carr <[email protected]>2024-01-19 05:54:55 -0600
commitf7bb1084ca117315fc293d077a8e4e24ccfe7cd8 (patch)
treef69a69fc5d63b0f5de7535fc79794c0e4341c953 /common.go
parentc682272f56094fc816c6b7fbee84351f5608c259 (diff)
builds and remembers Visable
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'common.go')
-rw-r--r--common.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.go b/common.go
index d24b7fb..a544f51 100644
--- a/common.go
+++ b/common.go
@@ -17,6 +17,7 @@ func (n *Node) Show() *Node {
return n
}
+ n.visable = true
n.hidden = false
n.changed = true
@@ -51,6 +52,7 @@ func (n *Node) Hide() *Node {
return nil
}
+ n.visable = false
n.hidden = true
n.changed = true