|
@@ -509,7 +509,8 @@ export class MusicSystemBuilder {
|
|
|
}
|
|
|
}
|
|
|
measure.InitiallyActiveClef = currentClef ?? this.activeClefs[visibleStaffIdx];
|
|
|
- measure.resetLayout(); // (only) needed for JustifiedMusicSystemBuilder
|
|
|
+ // measure.resetLayout(); // this "fixes" a key signature change accidentals issue (extended 104),
|
|
|
+ // but is actually not really a fix, it just sets the stave.clef to treble probably, and causes a bug in x-alignment
|
|
|
if (isSystemStartMeasure) {
|
|
|
if (!currentClef) {
|
|
|
currentClef = this.activeClefs[visibleStaffIdx];
|