Explorar o código

Added calling method for labels

Matthias %!s(int64=9) %!d(string=hai) anos
pai
achega
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();