mirror of
https://github.com/airstruck/luigi.git
synced 2026-01-10 16:28:23 +00:00
minor
This commit is contained in:
@@ -115,7 +115,7 @@ function Backend.show (layout)
|
|||||||
return input:handleReshape(layout, width, height)
|
return input:handleReshape(layout, width, height)
|
||||||
end)
|
end)
|
||||||
hook(layout, 'mousepressed', function (x, y, button)
|
hook(layout, 'mousepressed', function (x, y, button)
|
||||||
if love._version_minor < 10 and button == 'wu' or button == 'wd' then
|
if button == 'wu' or button == 'wd' then
|
||||||
return input:handleWheelMove(layout, 0, button == 'wu' and 1 or -1)
|
return input:handleWheelMove(layout, 0, button == 'wu' and 1 or -1)
|
||||||
end
|
end
|
||||||
return input:handlePressStart(layout, getMouseButtonId(button), x, y)
|
return input:handlePressStart(layout, getMouseButtonId(button), x, y)
|
||||||
|
|||||||
Reference in New Issue
Block a user