diff options
Diffstat (limited to 'eventMouseMove.go')
| -rw-r--r-- | eventMouseMove.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/eventMouseMove.go b/eventMouseMove.go index 5fe98d3..eb6beed 100644 --- a/eventMouseMove.go +++ b/eventMouseMove.go @@ -33,6 +33,11 @@ func mouseMove(g *gocui.Gui) { } } + if me.globalMouseDown && me.dropdown.active { + log.Info("can't drag while dropdown is active", w, h) + return + } + if me.globalMouseDown { // log.Info("msgMouseDown == true") // plugin will segfault if you don't keep this inside a check for msgMouseDown |
