Explorar o código

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

RelativePosition.Y => RelativePosition.y
Simon %!s(int64=6) %!d(string=hai) anos
pai
achega
819ecf5616
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 {
     public addGraphicalNoteToListAtCorrectYPosition(gve: GraphicalVoiceEntry, graphicalNote: GraphicalNote): void {
         const graphicalNotes: GraphicalNote[] = gve.notes;
         const graphicalNotes: GraphicalNote[] = gve.notes;
         if (graphicalNotes.length === 0 ||
         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);
             graphicalNotes.push(graphicalNote);
         } else {
         } else {
             for (let i: number = graphicalNotes.length - 1; i >= 0; i--) {
             for (let i: number = graphicalNotes.length - 1; i >= 0; i--) {