From ec361de48260bfeccbab9090f0724987d1ddd61b Mon Sep 17 00:00:00 2001 From: Kyle McLamb Date: Sat, 27 Aug 2016 10:19:07 -0400 Subject: [PATCH] Fix layout:pop() to actually pop off of the stack --- layout.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/layout.lua b/layout.lua index 82c3b5f..d335c04 100644 --- a/layout.lua +++ b/layout.lua @@ -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)