summaryrefslogtreecommitdiff
path: root/treeDraw.go
diff options
context:
space:
mode:
Diffstat (limited to 'treeDraw.go')
-rw-r--r--treeDraw.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/treeDraw.go b/treeDraw.go
index adbeb92..fd3fdaa 100644
--- a/treeDraw.go
+++ b/treeDraw.go
@@ -43,6 +43,8 @@ func (tk *guiWidget) drawView() {
tk.resize = true
tk.textResize() // resize window only once
} else {
+ tk.full.w0 = tk.force.w0
+ tk.full.h0 = tk.force.h0
// for windows, make it the full size
a = tk.full.w0
b = tk.full.h0