minor bug fixes

This commit is contained in:
airstruck
2015-12-02 01:42:35 -05:00
parent 14b96f4cb5
commit a902385d55
10 changed files with 131 additions and 25 deletions

View File

@@ -213,12 +213,14 @@ end
function Input:handleReshape (layout, width, height)
local root = layout.root
Event.Reshape:emit(layout, { target = layout })
if not root.float then
if root.float then
root:reshape()
else
root.width = width
root.height = height
end
Event.Reshape:emit(layout, { target = layout })
end
function Input:handleWheelMove (layout, x, y)