|
@@ -1012,7 +1012,7 @@ export const handleChangeSection = () => {
|
|
|
togglePlay("paused");
|
|
|
clearSelection();
|
|
|
// 重置速度和播放倍率
|
|
|
- resetBaseRate(state.activeNoteIndex);
|
|
|
+ // resetBaseRate(state.activeNoteIndex);
|
|
|
//skipNotePlay(0, true); 取消选段的时候 不跳回开头
|
|
|
state.sectionFirst = null;
|
|
|
// IOS18.1.1浏览器渲染更新有问题,需要手动更新一下
|
|
@@ -1168,7 +1168,7 @@ export const hanldeDirectSelection = (list: any[]) => {
|
|
|
// 选段完成后,需要根据预报小节的速度,设置右下角显示的速度
|
|
|
const currentItem: any = (state.sectionStatus && state.section.length === 2) ? state.sectionFirst || state.section[0] : state.times[state.activeNoteIndex];
|
|
|
if (currentItem.measureSpeed && query.workRecord === undefined && query.evaluatingRecord === undefined) {
|
|
|
- handleSetSpeed(currentItem.measureSpeed);
|
|
|
+ // handleSetSpeed(currentItem.measureSpeed);
|
|
|
}
|
|
|
console.log('选段小节', state.section)
|
|
|
}, 0);
|
|
@@ -1233,7 +1233,7 @@ export const handleRessetState = () => {
|
|
|
state.noSavePopShow = true;
|
|
|
clearSelection();
|
|
|
skipNotePlay(0, true);
|
|
|
- resetBaseRate();
|
|
|
+ // resetBaseRate();
|
|
|
// midi 重置播放进度
|
|
|
if (state.isAppPlay) {
|
|
|
audioData.progress = 0;
|
|
@@ -2243,10 +2243,11 @@ export const checkMoveNoSave = async () => {
|
|
|
/** 刷新谱面 */
|
|
|
export const refreshMusicSvg = () => {
|
|
|
(window as any).DYhideTrackTune = false;
|
|
|
+ console.time('加载过程')
|
|
|
moveData.noteCoords = []
|
|
|
moveData.modelList = []
|
|
|
clearSelection();
|
|
|
- resetBaseRate();
|
|
|
+ // resetBaseRate();
|
|
|
state.activeMeasureIndex = -1;
|
|
|
if (query.workRecord || query.evaluatingRecord) {
|
|
|
state.workSectionNeedReset = true;
|