From 18880de088d255c2dad66fe977f3b72699fbf03b Mon Sep 17 00:00:00 2001 From: Matthias Richter Date: Sat, 16 Jan 2016 02:26:05 +0100 Subject: [PATCH] Actually revert changes in :push() (commit 09a4583) --- layout.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layout.lua b/layout.lua index 50097c5..fc48cac 100644 --- a/layout.lua +++ b/layout.lua @@ -38,7 +38,7 @@ function Layout:nextCol() return self._x + self._w + self._padx, self._y end -function Layout:push(x,y, padx, pady) +function Layout:push(x,y) self._stack[#self._stack+1] = { self._x, self._y, self._padx, self._pady, @@ -47,6 +47,7 @@ function Layout:push(x,y, padx, pady) self._heights, } + print(padx, self._padx, pady, self._pady) return self:reset(x,y, padx or self._padx, pady or self._pady) end