mirror of
https://github.com/centau/vide.git
synced 2026-08-20 23:01:37 +00:00
parent
a469094328
commit
9ace23470f
4 changed files with 7 additions and 7 deletions
|
|
@ -47,7 +47,7 @@ local function update_children_effect(p: {
|
|||
cur_children_set[child] = nil -- remove child from cache if it was already in cache
|
||||
end
|
||||
elseif type(child) == "table" then
|
||||
for _, child in next, child do
|
||||
for _, child in child do
|
||||
process_child(child)
|
||||
end
|
||||
elseif type(child) == "function" then
|
||||
|
|
@ -70,7 +70,7 @@ local function update_children_effect(p: {
|
|||
|
||||
process_child(new_children)
|
||||
|
||||
for child in next, cur_children_set do
|
||||
for child in cur_children_set do
|
||||
child.Parent = nil -- unparent all children that weren't in the new children set
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue