Procházet zdrojové kódy

fix accidentals in key changes for JustifiedMusicSystemBuilder (#104)

sschmidTU před 1 rokem
rodič
revize
f93bd7bf46

+ 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];