浏览代码

Merge branch 'hqyDevNewVersion' of http://git.dayaedu.com/liushengqiang/music-score into feature-tianyong-newVersion

TIANYONG 7 月之前
父节点
当前提交
ac16a50eca
共有 1 个文件被更改,包括 2 次插入0 次删除
  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;
 				}
 			}