each-branch-manager
Rich Harris 2 days ago
parent 1d76000928
commit ae12901b05

@ -370,14 +370,12 @@ 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);
} }
} }
}
for (i = 0; i < length; i += 1) { for (i = 0; i < length; i += 1) {
value = array[i]; value = array[i];

Loading…
Cancel
Save