summaryrefslogtreecommitdiff
path: root/eventMouseClick.go
diff options
context:
space:
mode:
Diffstat (limited to 'eventMouseClick.go')
-rw-r--r--eventMouseClick.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eventMouseClick.go b/eventMouseClick.go
index 81b8aaf..2ad7274 100644
--- a/eventMouseClick.go
+++ b/eventMouseClick.go
@@ -23,8 +23,8 @@ func (tk *guiWidget) redrawWindow(w int, h int) {
h = h + 4
tk.DrawAt(w, h)
tk.setColor(&colorActiveW) // sets the window to Green BG
+ tk.placeWidgets(w, h) // compute the sizes & places for each widget
tk.showWidgets()
- tk.placeWidgets(w, h) // compute the sizes & places for each widget
tk.setFullSize()
me.baseGui.SetView(tk.cuiName, tk.gocuiSize.w0, tk.gocuiSize.h0, tk.gocuiSize.w1, tk.gocuiSize.h1, 0)