Procházet zdrojové kódy

Merge branch 'feature-tianyong-newVersion' into ktyq-test-new

TIANYONG před 11 měsíci
rodič
revize
c08d4127fc
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      src/helpers/formateMusic.ts

+ 2 - 0
src/helpers/formateMusic.ts

@@ -1264,6 +1264,8 @@ export const formateTimes = (osmd: OpenSheetMusicDisplay) => {
 				const allowRange = Math.abs(_notes[idx+1]?.note?.noteTimeInfo?.[0]?.begin - _notes[idx-1]?.note?.noteTimeInfo?.[0]?.end) < 10;
 				if (allowRange) {
 					note.maxNoteNum = note.maxNoteNum - 1;
+					// 唱名时间补齐
+					xmlNoteTime += noteLength
 					continue;
 				}
 			}