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
|
||||
|
||||
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()
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue