mirror of
https://github.com/airstruck/luigi.git
synced 2025-11-18 12:25:06 +00:00
fix scrolling
This commit is contained in:
@@ -220,7 +220,7 @@ end
|
||||
|
||||
function Input:handleWheelMove (layout, x, y)
|
||||
local mx, my = Backend.getMousePosition()
|
||||
local hit, widget = checkHit(layout:getWidgetAt(x, y), layout)
|
||||
local hit, widget = checkHit(layout:getWidgetAt(mx, my), layout)
|
||||
|
||||
widget:bubbleEvent('WheelMove', { hit = hit, x = x, y = y })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user