Update to Profectus 0.7 #1

Merged
thepaperpilot merged 110 commits from feat/board-feature-rewrite into main 2024-12-31 13:27:34 +00:00
Showing only changes of commit f7a8fbbb11 - Show all commits

View file

@ -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;
} }