summaryrefslogtreecommitdiff
path: root/eventMouseDrag.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-08 17:19:41 -0600
committerJeff Carr <[email protected]>2025-02-08 17:19:41 -0600
commit5a84456c7aa416ed228a809be28137802f35b6e0 (patch)
tree0cf5b698401b2e82f1a2204698624e95362638a3 /eventMouseDrag.go
parentf8b7c603a12513c3865bb3166f11133a444b89c7 (diff)
more usability cleanups
Diffstat (limited to 'eventMouseDrag.go')
-rw-r--r--eventMouseDrag.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/eventMouseDrag.go b/eventMouseDrag.go
index 4e2312d..ce66257 100644
--- a/eventMouseDrag.go
+++ b/eventMouseDrag.go
@@ -168,7 +168,7 @@ func (tk *guiWidget) moveNew() {
newH := h - me.stdout.lastH
me.stdout.w = newW
me.stdout.h = newH
- log.Info("Resize true", w, h, newW, newH)
+ // log.Info("Resize true", w, h, newW, newH)
// me.stdout.lastW = w - me.stdout.mouseOffsetW
// me.stdout.lastH = h - me.stdout.mouseOffsetH
tk.relocateStdout(me.stdout.lastW, me.stdout.lastH)
@@ -178,6 +178,7 @@ func (tk *guiWidget) moveNew() {
newW := tk.lastW + w - me.mouse.downW
newH := tk.lastH + h - me.mouse.downH
tk.relocateStdout(newW, newH)
+ // log.Info("Resize false", w, h, newW, newH)
}
}
// always place the help menu on top