summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eventMouse.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/eventMouse.go b/eventMouse.go
index 1d1895e..20af0de 100644
--- a/eventMouse.go
+++ b/eventMouse.go
@@ -59,6 +59,13 @@ func mouseDown(g *gocui.Gui, v *gocui.View) error {
tk.doWidgetClick(mx, my)
return nil
}
+ if tk.node.WidgetType == widget.Label {
+ log.Info("IGNORE LABLE")
+ found = false
+ log.Info("setting mousedown to true")
+ msgMouseDown = true
+ return nil
+ }
/*
if tk.node.WidgetType == widget.Label {
log.Info("SENDING CLICK TO Label")