Show `arrow` cursor when hovering `DocView` scrollbar track
This commit is contained in:
parent
48c371a638
commit
4f434d1a41
|
@ -227,7 +227,7 @@ end
|
|||
function DocView:on_mouse_moved(x, y, ...)
|
||||
DocView.super.on_mouse_moved(self, x, y, ...)
|
||||
|
||||
if self.hovered_scrollbar or self.dragging_scrollbar then
|
||||
if self.hovered_scrollbar_track or self.dragging_scrollbar then
|
||||
self.cursor = "arrow"
|
||||
else
|
||||
self.cursor = "ibeam"
|
||||
|
|
Loading…
Reference in New Issue