diff options
| author | Jeff Carr <[email protected]> | 2025-01-31 12:36:46 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-31 13:47:45 -0600 |
| commit | f76960c90764159d1cad6b5264687accc39ca4bd (patch) | |
| tree | 2b56abf47b9396acd1d8a7eb6b3a7b89e610f815 /eventMouse.go | |
| parent | 5b39848b6448c8b95764bd42146e4e13b469876e (diff) | |
almost quiet
Diffstat (limited to 'eventMouse.go')
| -rw-r--r-- | eventMouse.go | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/eventMouse.go b/eventMouse.go index a50142a..3735010 100644 --- a/eventMouse.go +++ b/eventMouse.go @@ -64,9 +64,12 @@ func msgDown(g *gocui.Gui, v *gocui.View) error { func mouseUp(g *gocui.Gui, v *gocui.View) error { w, h := g.MousePosition() - for _, tk := range findByXY(w, h) { - log.Log(GOCUI, fmt.Sprintf("findByXY() mouseUp() %s wId=%d cuiName=%s at (%d,%d)", tk.WidgetType, tk.node.WidgetId, tk.cuiName, w, h)) - } + // useful to debug everything that is being clicked on + /* + for _, tk := range findByXY(w, h) { + log.Log(GOCUI, fmt.Sprintf("findByXY() mouseUp() %s wId=%d cuiName=%s at (%d,%d)", tk.WidgetType, tk.node.WidgetId, tk.cuiName, w, h)) + } + */ dropdownUnclicked(w, h) |
