Fix mouse click offset when list is scrolled
This commit is contained in:
parent
8e5ecf6b38
commit
dee0909d2b
@ -526,7 +526,7 @@ func (t *Terminal) Loop() {
|
|||||||
req(REQ_PROMPT)
|
req(REQ_PROMPT)
|
||||||
} else if my >= 2 {
|
} else if my >= 2 {
|
||||||
// List
|
// List
|
||||||
t.cy = my - 2
|
t.cy = t.offset + my - 2
|
||||||
if me.Mod {
|
if me.Mod {
|
||||||
toggle()
|
toggle()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user