fix scrolling

This commit is contained in:
nobody
2016-01-26 16:19:27 -05:00
parent 01f958fb6c
commit 1161191007

View File

@@ -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 })