瀏覽代碼

fix(Cursor): ignore hidden parts for cursor.next(): always move to next visible voice entry (#929)

fixes #929
sschmid 4 年之前
父節點
當前提交
7ca20d1b5f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/OpenSheetMusicDisplay/Cursor.ts

+ 1 - 1
src/OpenSheetMusicDisplay/Cursor.ts

@@ -197,7 +197,7 @@ export class Cursor {
    * Go to next entry
    */
   public next(): void {
-    this.iterator.moveToNext();
+    this.iterator.moveToNextVisibleVoiceEntry(false);
     this.update();
   }