Update changelog

This commit is contained in:
centauri 2025-09-01 22:09:06 +01:00
parent ce24f8ade9
commit 945cdd0e88
2 changed files with 7 additions and 0 deletions

View file

@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
of the condition.
- Ignore `false` passed as a child.
- Flag `vide.defaults` to disable the setting of default properties.
- Delayed scope destruction for control flow functions: `show()` `switch()` `indexes()` `values()`.
### Changed

View file

@ -23,6 +23,7 @@ local function update_parent_effect(p: {
return p
end
-- todo: investigate if "count" method used in indexes() and values() can improve performance here
local function update_children_effect(p: {
instance: Instance,
cur_children_set: { [Instance]: true },
@ -39,6 +40,7 @@ local function update_children_effect(p: {
if new_children_set[child] then return end -- stops redundant reparenting
new_children_set[child] = true -- record child set from this update
if not cur_children_set[child] then
child.Parent = p.instance -- if child wasn't already parented then parent it
else
@ -85,7 +87,9 @@ return {
property = property,
source = source
})
evaluate_node(node)
return node
end,
@ -94,7 +98,9 @@ return {
instance = instance,
source = parent
})
evaluate_node(node)
return node
end,