From 5675307497e2f6b75251d394a7a669734f6d3941 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 6 Feb 2025 14:13:31 -0600 Subject: quiet output --- eventMouse.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'eventMouse.go') 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 -- cgit v1.2.3