Skip to content

Commit

Permalink
Merge pull request #940 from ronyeh/master
Browse files Browse the repository at this point in the history
Visual fixes for all fonts: Bravura, Petaluma, Gonville.
  • Loading branch information
0xfe authored May 1, 2021
2 parents 737fd81 + 6b7bcd1 commit 992beba
Show file tree
Hide file tree
Showing 6 changed files with 280 additions and 209 deletions.
2 changes: 1 addition & 1 deletion src/beam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ export class Beam extends Element {
const beamExtension = stem_direction === Stem.UP ? stemTipY - beamedStemTipY : beamedStemTipY - stemTipY;

stem.setExtension(preBeamExtension + beamExtension);
stem.renderHeightAdjustment = -Stem.WIDTH / 2;
stem.adjustHeightForBeam();

if (note.isRest() && show_stemlets) {
const beamWidth = beam_width;
Expand Down
Loading

0 comments on commit 992beba

Please sign in to comment.