Przeglądaj źródła

fix: 变速的曲子,时值问题修复

TIANYONG 9 miesięcy temu
rodzic
commit
cda84c770c
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      src/pages/detail/helpers.ts

+ 3 - 3
src/pages/detail/helpers.ts

@@ -441,9 +441,9 @@ export const getAllNodes = (osmd: any) => {
           // }
 
           // 如果休止符的时值大于小节的时值
-          if (note.isRestFlag && noteLength > measureLength) {
-            noteLength = measureLength
-          }
+          // if (note.isRestFlag && noteLength > measureLength) {
+          //   noteLength = measureLength
+          // }
           // 处理附点时长不正确问题
           if (note.DotsXml && note.tuplet) {
             console.log('处理附点时长不正确问题')