summaryrefslogtreecommitdiff
path: root/click.go
diff options
context:
space:
mode:
Diffstat (limited to 'click.go')
-rw-r--r--click.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/click.go b/click.go
index d2dc21e..cf5790b 100644
--- a/click.go
+++ b/click.go
@@ -172,9 +172,7 @@ func (w *guiWidget) doWidgetClick() {
w.dumpTree("click start")
if w.active {
w.active = false
- startW := w.parent.AtW
- startH := w.parent.AtH
- w.placeWidgets(startW, startH)
+ w.placeWidgets(w.startW, w.startH)
w.showWidgets()
/*
for _, child := range w.children {