diff options
Diffstat (limited to 'treeDraw.go')
| -rw-r--r-- | treeDraw.go | 10 |
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 } |
