Skip to content

Accidentals overlap the note head on augmented or diminished unisons in chords. #1649

Description

@kfxs
const vf = new Vex.Flow.Factory({renderer: {elementId: 'output', width: 160, height: 160}});
vf.context.scale(0.75, 0.75);

const score = vf.EasyScore();
const system = vf.System();

const myChord = '(B4 B#4)/w';

system.addStave({
  voices: [score.voice(score.notes(myChord))]
}).addClef('treble');

vf.draw();

output:

Image

The issue occurs both on bass and treble clef from line 3 to above:


const vf = new Vex.Flow.Factory({renderer: {elementId: 'output', width: 160, height: 160}});
vf.context.scale(0.75, 0.75);

const score = vf.EasyScore();
const system = vf.System();

const myChord = '(Bn3 Bb3)/w';

system.addStave({
  voices: [score.voice(score.notes(myChord, { clef: 'bass' }))]
}).addClef('bass');

vf.draw();

output:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions