fix(w.l.overflow): Fix mouse scrolling
This commit is contained in:
parent
0f1dfe13ec
commit
c8ec8394c5
|
@ -432,7 +432,7 @@ local function build_grabber(container, initial_x, initial_y, geo)
|
|||
end
|
||||
|
||||
local x, y = matrix:transform_point(mouse.x, mouse.y)
|
||||
local pos = is_y and x and y
|
||||
local pos = is_y and y or x
|
||||
container:set_scroll_factor((start_pos + (pos - start)) / bar_interval)
|
||||
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue