Skip to content

Commit 9f19e18

Browse files
Fix the order of calculations in recalcDescendants (#285)
1 parent 82ffb7f commit 9f19e18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classes/Score.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ export default class Score {
196196
}
197197

198198
for (let child of this.children) {
199-
child.recalcSelf();
200199
child.recalcDescendants(limit - 1);
200+
child.recalcSelf();
201201
}
202202
}
203203

0 commit comments

Comments
 (0)