mirror of
https://github.com/airstruck/luigi.git
synced 2026-01-10 08:18:22 +00:00
fix scrolling
This commit is contained in:
@@ -220,7 +220,7 @@ end
|
|||||||
|
|
||||||
function Input:handleWheelMove (layout, x, y)
|
function Input:handleWheelMove (layout, x, y)
|
||||||
local mx, my = Backend.getMousePosition()
|
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 })
|
widget:bubbleEvent('WheelMove', { hit = hit, x = x, y = y })
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user