Selaa lähdekoodia

fix(Added skyline calculation to dynamic labels): labels affect height of skyline now. Start and end 2nd try

Benjamin Giesinger 7 vuotta sitten
vanhempi
commit
b5f3bcd3f1

+ 1 - 1
src/MusicalScore/Graphical/VexFlow/VexFlowInstantaniousDynamicExpression.ts

@@ -56,7 +56,7 @@ export class VexFlowInstantaniousDynamicExpression extends GraphicalInstantaniou
           // get the minimum corresponding SkyLine value
         const bottomLineMaxValue: number = skyBottomLineCalculator.getBottomLineMaxInRange(start, end);
         relativeY = bottomLineMaxValue;
-        console.log(start, end, relativeY, this.mLabel.PositionAndShape.BorderMarginBottom)
+        // console.log(start, end, relativeY, this.mLabel.PositionAndShape.BorderMarginBottom)
         skyBottomLineCalculator.updateBottomLineInRange(start, end, relativeY + this.mLabel.PositionAndShape.BorderMarginBottom);
     }