forked from profectus/Profectus
Lint
This commit is contained in:
parent
5f8e35478d
commit
f7a8fbbb11
1 changed files with 2 additions and 2 deletions
|
@ -346,11 +346,11 @@ export const branchedResetPropagation = function (
|
||||||
const next: GenericTreeNode[] = [];
|
const next: GenericTreeNode[] = [];
|
||||||
for (const node of current) {
|
for (const node of current) {
|
||||||
for (const link of links.filter(link => link.startNode === node)) {
|
for (const link of links.filter(link => link.startNode === node)) {
|
||||||
if ([...reset, ...current].includes(link.endNode)) continue
|
if ([...reset, ...current].includes(link.endNode)) continue;
|
||||||
next.push(link.endNode);
|
next.push(link.endNode);
|
||||||
link.endNode.reset?.reset();
|
link.endNode.reset?.reset();
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
reset.push(...current);
|
reset.push(...current);
|
||||||
current = next;
|
current = next;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue