diff options
Diffstat (limited to 'eventMouseClick.go')
| -rw-r--r-- | eventMouseClick.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/eventMouseClick.go b/eventMouseClick.go index f96c144..d939f7a 100644 --- a/eventMouseClick.go +++ b/eventMouseClick.go @@ -4,8 +4,6 @@ package main import ( - "fmt" - "github.com/awesome-gocui/gocui" "go.wit.com/log" "go.wit.com/widget" @@ -85,7 +83,7 @@ func (tk *guiWidget) doWidgetClick(w int, h int) { tk.showDropdown() me.dropdownW = tk default: - log.Log(GOCUI, fmt.Sprintf("findByXY() blank click() %s wId=%d cuiName=%s at (%d,%d)", tk.WidgetType, tk.node.WidgetId, tk.cuiName, w, h)) + tk.dumpWidget("blank click()") } } @@ -98,7 +96,7 @@ func click(g *gocui.Gui, v *gocui.View) error { for _, tk := range findByXY(w, h) { // will show you everything found on a mouse click. great for debugging! - // log.Log(GOCUI, fmt.Sprintf("findByXY() click() %s wId=%d cuiName=%s at (%d,%d)", tk.WidgetType, tk.node.WidgetId, tk.cuiName, w, h)) + // tk.dumpWidget("click()") if tk.WidgetType == widget.Stdout { // don't send clicks to the stdout debugging window continue |
