|
@@ -1641,9 +1641,8 @@ const analyzeEvxml = (xmlParse: any, xmlUrl?: string) => {
|
|
|
}
|
|
|
state.evXmlBeginTime = firstNoteBeginTime ? firstNoteBeginTime / 1000 : xmlNum ? 60 / state.originSpeed * xmlNum * 4/denNum : 0;
|
|
|
state.secondEvXmlBeginTime = firstNoteBeginTime ? 0 : xmlNum2 ? 60 / state.originSpeed * xmlNum2 * 4/denNum2 : 0;
|
|
|
- const hasTimeGap = xmlParse.getElementsByTagName("timegap").length > 0;
|
|
|
+ const hasTimeGap = state.xmlHasTimeGap = xmlParse.getElementsByTagName("timegap").length > 0;
|
|
|
const hasTimes = xmlParse.getElementsByTagName("times").length > 0;
|
|
|
-
|
|
|
if (timeGaps && timeGaps.length && !firstNoteBeginTime) {
|
|
|
for (const timeGap of timeGaps) {
|
|
|
const num: any = timeGap?.getAttribute('num'), den: any = timeGap?.getAttribute('den');
|