فهرست منبع

RelativePosition.Y => RelativePosition.y

勇敢善良坚强无畏的小海豚 6 سال پیش
والد
کامیت
e9db0bef5d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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--) {