mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-09 22:30:24 +09:00
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user