mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-18 16:04:22 +00:00
The tabs object will only update its active tab
This commit is contained in:
parent
8fddb8635a
commit
63e6f2fdb7
@ -103,9 +103,9 @@ function newobject:update(dt)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
for k, v in ipairs(children) do
|
if #self.children > 0 then
|
||||||
v:update(dt)
|
self.children[self.tab]:update(dt)
|
||||||
v:SetPos(padding, tabheight + padding)
|
self.children[self.tab]:SetPos(padding, tabheight + padding)
|
||||||
end
|
end
|
||||||
|
|
||||||
if update then
|
if update then
|
||||||
|
Loading…
Reference in New Issue
Block a user