mirror of
https://github.com/airstruck/luigi.git
synced 2025-12-19 02:16:43 +00:00
adjust children for parent padding and margin
This commit is contained in:
@@ -51,6 +51,7 @@ function Layout:show ()
|
||||
love.window.setTitle(title)
|
||||
end
|
||||
self:manageInput(self.input)
|
||||
root:reflow()
|
||||
end
|
||||
|
||||
function Layout:hide ()
|
||||
@@ -90,7 +91,7 @@ end
|
||||
-- event stuff
|
||||
|
||||
function Layout:hook (key, method)
|
||||
self.hooks[#self.hooks + 1] = Hooker.hook(key, method)
|
||||
self.hooks[#self.hooks + 1] = Hooker.hook(love, key, method)
|
||||
end
|
||||
|
||||
function Layout:unhook ()
|
||||
|
||||
Reference in New Issue
Block a user