summaryrefslogtreecommitdiff
path: root/place.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-05 16:30:06 -0600
committerJeff Carr <[email protected]>2025-02-05 16:30:06 -0600
commitefebe00640b7b44821c37fd2c9479c579bebc392 (patch)
treec5bcf67022d282ede1d2ab890aada1065a3cfa4f /place.go
parent07f6b7842e9ee6c933be365ab24839aec5c07298 (diff)
window dragging works fairly well
Diffstat (limited to 'place.go')
-rw-r--r--place.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/place.go b/place.go
index c400bb8..98e9c78 100644
--- a/place.go
+++ b/place.go
@@ -77,6 +77,8 @@ func (tk *guiWidget) placeWidgets(startW int, startH int) (int, int) {
switch tk.node.WidgetType {
case widget.Window:
+ tk.full.w0 = startW
+ tk.full.h0 = startH
startW += 4
startH += 4
for _, child := range tk.children {