Procházet zdrojové kódy

fix: 弱起的曲子,选段评测,预备小节是第一小节BeatLength取值错误修改

TIANYONG před 4 týdny
rodič
revize
bd677bc9c0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/page-instrument/evaluat-model/index.tsx

+ 1 - 1
src/page-instrument/evaluat-model/index.tsx

@@ -213,7 +213,7 @@ export default defineComponent({
       actualBeatLength = preTimes.length ? actualBeatLength + preTimes[preTimes.length - 1].relaMeasureLength * 1000 : actualBeatLength;
       // 如果是弱起,并且预备小节是第一节
       if (state.section.length && state.sectionFirst && state.sectionFirst.measureListIndex == 0 && !state.isEvxml) {
-        actualBeatLength = actualBeatLength < Math.round((state.times[0].fixtime * 1000) / 1) ? Math.round((state.times[0].fixtime * 1000) / 1) : actualBeatLength;
+        // actualBeatLength = actualBeatLength < Math.round((state.times[0].fixtime * 1000) / 1) ? Math.round((state.times[0].fixtime * 1000) / 1) : actualBeatLength;
       }
       
       let firstNoteTime = unitTestIdx > 1 ? preTime : 0;