Merge pull request #19 from SlimeBOOS/fix-row-layout-typo
Fix typo in row layout.
This commit is contained in:
commit
46a9ae4b2f
@ -17,8 +17,8 @@ function row:draw(x, y, width, height, children, hpad, vpad, alignX)
|
||||
if children then
|
||||
for i, e in ipairs(children) do
|
||||
local w, _ = e:getSize()
|
||||
e:draw(x+carriagePos+hpad, y+vpad)
|
||||
carriagePos = carriagePos + w + vpad
|
||||
e:draw(x+carriagePos, y+vpad)
|
||||
carriagePos = carriagePos + w + hpad
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user