فهرست منبع

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

Benjamin Giesinger 7 سال پیش
والد
کامیت
b5f3bcd3f1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/MusicalScore/Graphical/VexFlow/VexFlowInstantaniousDynamicExpression.ts

+ 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);
     }