Refonte pour utiliser le systeme de GUI #112
1 changed files with 4 additions and 1 deletions
|
@ -164,7 +164,10 @@ end
|
||||||
-- Draw the menu and its content
|
-- Draw the menu and its content
|
||||||
|
|
||||||
function Gui:redraw()
|
function Gui:redraw()
|
||||||
for _, element in pairs(self.elements) do
|
for _, element in pairs(self:getVisibleElement(true)) do
|
||||||
|
element:redraw()
|
||||||
|
end
|
||||||
|
for _, element in pairs(self:getVisibleElement(false)) do
|
||||||
element:redraw()
|
element:redraw()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue