summaryrefslogtreecommitdiff
path: root/eventMouse.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-06 14:13:31 -0600
committerJeff Carr <[email protected]>2025-02-06 14:13:31 -0600
commit5675307497e2f6b75251d394a7a669734f6d3941 (patch)
treee717a4eebea8b5f3f72768a23dacd258ca9201c8 /eventMouse.go
parent88f33afbb777a3d02631c4eb6a2d6f6dbf7fba3f (diff)
quiet output
Diffstat (limited to 'eventMouse.go')
-rw-r--r--eventMouse.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/eventMouse.go b/eventMouse.go
index 37698dc..09cfa6e 100644
--- a/eventMouse.go
+++ b/eventMouse.go
@@ -63,11 +63,11 @@ func mouseDown(g *gocui.Gui, v *gocui.View) error {
return nil
}
tk.makeWindowActive()
- log.Info("SENDING mouseDown() to findWindowUnderMouse()")
+ // log.Info("SENDING mouseDown() to findWindowUnderMouse()")
if tk.node.WidgetType == widget.Window {
// check to see if this is a direct click on a widget
for _, tk := range tk.findByXYreal(w, h) {
- tk.dumpWidget("mouseDown()")
+ // tk.dumpWidget("mouseDown()")
if tk.node.WidgetType == widget.Button {
log.Info("SENDING CLICK TO Button")
tk.doWidgetClick(w, h)
@@ -90,6 +90,7 @@ func mouseDown(g *gocui.Gui, v *gocui.View) error {
}
}
}
+ tk.dumpWidget("mouseDown() drag")
me.currentDrag = tk
tk.dragW = w - tk.gocuiSize.w0
tk.dragH = h - tk.gocuiSize.h0