summaryrefslogtreecommitdiff
path: root/eventMouse.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-06 14:19:43 -0600
committerJeff Carr <[email protected]>2025-02-06 14:19:43 -0600
commit1918dcbbdec3da55790314cb76fd1b1741b6586f (patch)
treeba1c246e711b651aaf4665c682c2f556bd8797e2 /eventMouse.go
parent5675307497e2f6b75251d394a7a669734f6d3941 (diff)
no output except 'mouse drag()'
Diffstat (limited to 'eventMouse.go')
-rw-r--r--eventMouse.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/eventMouse.go b/eventMouse.go
index 09cfa6e..a83dcf5 100644
--- a/eventMouse.go
+++ b/eventMouse.go
@@ -20,7 +20,6 @@ func mouseUp(g *gocui.Gui, v *gocui.View) error {
}
*/
- log.Info("mouseUp() setting me.globalMouseDown = false")
me.globalMouseDown = false
me.currentDrag = nil
@@ -33,7 +32,6 @@ func mouseUp(g *gocui.Gui, v *gocui.View) error {
// widget was underneath so you can active
// the right response for the toolkit user's app
func mouseDown(g *gocui.Gui, v *gocui.View) error {
- log.Info("mouseDown() setting globalMouseDown = true")
me.globalMouseDown = true
w, h := g.MousePosition()
@@ -90,7 +88,7 @@ func mouseDown(g *gocui.Gui, v *gocui.View) error {
}
}
}
- tk.dumpWidget("mouseDown() drag")
+ tk.dumpWidget("mouse drag()")
me.currentDrag = tk
tk.dragW = w - tk.gocuiSize.w0
tk.dragH = h - tk.gocuiSize.h0