Browse Source

fix accidentals in key changes for JustifiedMusicSystemBuilder (#104)

sschmidTU 1 year ago
parent
commit
f93bd7bf46
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/MusicalScore/Graphical/MusicSystemBuilder.ts

+ 1 - 0
src/MusicalScore/Graphical/MusicSystemBuilder.ts

@@ -504,6 +504,7 @@ export class MusicSystemBuilder {
             }
         }
         measure.InitiallyActiveClef = currentClef ?? this.activeClefs[visibleStaffIdx];
+        measure.resetLayout(); // (only) needed for JustifiedMusicSystemBuilder
         if (isSystemStartMeasure) {
             if (!currentClef) {
                 currentClef = this.activeClefs[visibleStaffIdx];