소스 검색

Cursor on first StaffEntry by default

Andrea Condoluci 9 년 전
부모
커밋
52eddf3d90
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/OSMD/Cursor.ts

+ 1 - 0
src/OSMD/Cursor.ts

@@ -27,6 +27,7 @@ export class Cursor {
 
     public init(manager: MusicPartManager, graphic: GraphicalMusicSheet): void {
         this.iterator = manager.getIterator();
+        this.iterator.moveToNext();
         this.graphic = graphic;
         this.hidden = true;
         this.hide();