mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-01 22:00:32 +00:00
Fix mouse bug
This commit is contained in:
parent
fb3923f344
commit
94ab77e2e0
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue