mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-12 18:40:58 +00:00
parent
1295b877e3
commit
1f89b41070
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ func (v *View) HandleEvent(event tcell.Event) {
|
|||
case *tcell.EventMouse:
|
||||
x, y := e.Position()
|
||||
x -= v.lineNumOffset - v.leftCol
|
||||
y += v.Topline
|
||||
y += v.Topline - v.y
|
||||
// Don't relocate for mouse events
|
||||
relocate = false
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue