Skip to content

Commit cbfd3cf

Browse files
committed
fix: Missing boundslookup mapping for noteHeadBounds
1 parent acab2c3 commit cbfd3cf

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

package-lock.json

Lines changed: 12 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/rendering/utils/BoundsLookup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export class BoundsLookup {
106106
let n: NoteBounds = new NoteBounds();
107107
let nd: any = note;
108108
n.note = bb.beat.notes[nd.index];
109-
n.noteHeadBounds = note.noteHeadBounds;
109+
n.noteHeadBounds = BoundsLookup.boundsFromJson(note.noteHeadBounds);
110110
bb.addNote(n);
111111
}
112112
}

0 commit comments

Comments
 (0)