Fix mouse bug

This commit is contained in:
Zachary Yedidia
2019-01-13 15:04:14 -05:00
parent 5e553481b9
commit 15afb75984

View File

@@ -198,7 +198,7 @@ func (t *Tab) HandleEvent(event tcell.Event) {
inpane := mx >= v.X && mx < v.X+v.Width && my >= v.Y && my < v.Y+v.Height
if inpane {
t.SetActive(i)
return
break
}
}
case tcell.ButtonNone: