Forráskód Böngészése

Merge PR #445 from dolphinxx, Position.Y -> y

RelativePosition.Y => RelativePosition.y
Simon 6 éve
szülő
commit
819ecf5616
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/MusicalScore/Graphical/GraphicalStaffEntry.ts

+ 1 - 1
src/MusicalScore/Graphical/GraphicalStaffEntry.ts

@@ -277,7 +277,7 @@ export abstract class GraphicalStaffEntry extends GraphicalObject {
     public addGraphicalNoteToListAtCorrectYPosition(gve: GraphicalVoiceEntry, graphicalNote: GraphicalNote): void {
         const graphicalNotes: GraphicalNote[] = gve.notes;
         if (graphicalNotes.length === 0 ||
-            graphicalNote.PositionAndShape.RelativePosition.y < CollectionUtil.last(graphicalNotes).PositionAndShape.RelativePosition.Y) {
+            graphicalNote.PositionAndShape.RelativePosition.y < CollectionUtil.last(graphicalNotes).PositionAndShape.RelativePosition.y) {
             graphicalNotes.push(graphicalNote);
         } else {
             for (let i: number = graphicalNotes.length - 1; i >= 0; i--) {