Fix layout:pop() to actually pop off of the stack
This commit is contained in:
parent
e64a822de8
commit
ec361de482
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ function Layout:pop()
|
|||
self._w, self._h,
|
||||
self._widths, self._heights = unpack(self._stack[#self._stack])
|
||||
self._isFirstCell = false
|
||||
self._stack[#self._stack] = nil
|
||||
|
||||
self._w, self._h = math.max(w, self._w or 0), math.max(h, self._h or 0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue