each-branch-manager
Rich Harris 18 hours ago
parent 1d76000928
commit ae12901b05

@ -370,12 +370,10 @@ function reconcile(each_effect, array, state, anchor, flags, get_key) {
for (i = 0; i < length; i += 1) { for (i = 0; i < length; i += 1) {
value = array[i]; value = array[i];
key = get_key(value, i); key = get_key(value, i);
item = onscreen.get(key); item = /** @type {EachItem} */ (onscreen.get(key));
if (item !== undefined) { item.a?.measure();
item.a?.measure(); (to_animate ??= new Set()).add(item);
(to_animate ??= new Set()).add(item);
}
} }
} }

Loading…
Cancel
Save