Bläddra i källkod

fix(file missing): File was missing in commit due to tslint stuff

Benjamin Giesinger 6 år sedan
förälder
incheckning
3db189b351
1 ändrade filer med 0 tillägg och 5 borttagningar
  1. 0 5
      src/MusicalScore/Graphical/VexFlow/VexFlowStaffEntry.ts

+ 0 - 5
src/MusicalScore/Graphical/VexFlow/VexFlowStaffEntry.ts

@@ -44,11 +44,6 @@ export class VexFlowStaffEntry extends GraphicalStaffEntry {
             numberOfValidTickables++;
         }
         tickablePosition = tickablePosition / numberOfValidTickables;
-        // Calculate parent absolute position and reverse calculate the relative position
-        // All the modifiers signs, clefs, you name it have an offset in the measure. Therefore remove it.
-        // NOTE: Somehow vexflows shift is off by 25px.
-        const modifierOffset: number = stave.getModifierXShift(); // - (this.parentMeasure.MeasureNumber === 1 ? 25 : 0);
-        // const modifierOffset: number = 0;
         // sets the vexflow x positions back into the bounding boxes of the staff entries in the osmd object model.
         // The positions are needed for cursor placement and mouse/tap interactions
         if (!(this.graphicalVoiceEntries[0] as VexFlowVoiceEntry).parentVoiceEntry.IsGrace) {