Prechádzať zdrojové kódy

Added calling method for labels

Matthias 9 rokov pred
rodič
commit
43e3d3593e

+ 1 - 0
src/MusicalScore/Graphical/VexFlow/VexFlowMusicSheetCalculator.ts

@@ -43,6 +43,7 @@ export class VexFlowMusicSheetCalculator extends MusicSheetCalculator {
     public calculate(): void {
         this.clearSystemsAndMeasures();
         this.clearRecreatedObjects();
+        this.calculateSheetLabelBoundingBoxes();
         this.calculateXLayout(this.graphicalMusicSheet, this.maxInstrNameLabelLength());
         this.graphicalMusicSheet.MusicPages.length = 0;
         this.calculateMusicSystems();