summaryrefslogtreecommitdiff
path: root/draw.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-05 03:05:37 -0600
committerJeff Carr <[email protected]>2024-02-05 03:05:37 -0600
commit063c40accd0c866567c2a580a4fa5243f4ad82b3 (patch)
tree4911e0503b2155d5eee410cdd6428333809591fc /draw.go
parent2ee37e5c209f64a09d4088b8895880deb084d0ee (diff)
function rename
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'draw.go')
-rw-r--r--draw.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/draw.go b/draw.go
index db22fe2..6e7304c 100644
--- a/draw.go
+++ b/draw.go
@@ -27,9 +27,9 @@ func (w *guiWidget) drawTree(draw bool) {
w.showWidgetPlacement("drawTree()")
if draw {
// w.textResize()
- w.showView()
+ w.Show()
} else {
- w.deleteView()
+ w.Hide()
}
for _, child := range w.children {