Fix BuildPatterns not iterating from beginning to the end
This commit is contained in:
parent
a455971a57
commit
60a3ead6aa
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ function BuildPatterns(
|
|||
continue;
|
||||
}
|
||||
|
||||
for (let i = newParent.pattern.children.length - 1; i >= 0; i--) {
|
||||
for (let i = 0; i <= newParent.pattern.children.length - 1; i++) {
|
||||
const nextNode = GetNextNode(newParent.parent, newParent.pattern, i, configs, patterns);
|
||||
|
||||
if (nextNode === undefined) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue