summaryrefslogtreecommitdiff
path: root/treeDraw.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-06 19:00:00 -0600
committerJeff Carr <[email protected]>2025-02-06 19:00:00 -0600
commit2a5734892a85804b6c44a0cd8dd22d20fed21d96 (patch)
tree55e4164094dd468a8ef1812ed1cae5e7a605fc01 /treeDraw.go
parentf5d465901d2ec48e145c3c7ce04eceb69445a11f (diff)
trying to fix Hidden() to use the parent
Diffstat (limited to 'treeDraw.go')
-rw-r--r--treeDraw.go10
1 files changed, 8 insertions, 2 deletions
diff --git a/treeDraw.go b/treeDraw.go
index 86eb673..39c8edc 100644
--- a/treeDraw.go
+++ b/treeDraw.go
@@ -141,8 +141,14 @@ func (w *guiWidget) Show() {
// deprecate this
// if this isn't in the binary tree
// it's some internal widget so always display those
- if w.node == nil {
- w.drawView()
+ /*
+ if w.node == nil {
+ w.drawView()
+ return
+ }
+ */
+
+ if w.node.Hidden() {
return
}