|
@@ -19,6 +19,7 @@ import { moveSmoothAnimation, smoothAnimationState, moveSmoothAnimationByPlayTim
|
|
|
import { storeData } from "/src/store";
|
|
|
import { downloadXmlStr } from "./view/music-score"
|
|
|
import { musicScoreRef } from "/src/page-instrument/view-detail/index"
|
|
|
+import { headTopData } from "/src/page-instrument/header-top/index";
|
|
|
|
|
|
const query: any = getQuery();
|
|
|
|
|
@@ -1805,5 +1806,10 @@ watch(
|
|
|
smoothAnimationState.osdmScrollDomWith = smoothAnimationState.osdmScrollDom.offsetWidth | 0
|
|
|
}
|
|
|
})
|
|
|
+ // 如果有指法,并且是竖向指法时,切换指法时,谱面宽度变化,需要重新渲染谱面
|
|
|
+ if (state.fingeringInfo?.name && state.fingeringInfo.direction === "vertical" && !state.isSingleLine) {
|
|
|
+ headTopData.settingMode = false;
|
|
|
+ refreshMusicSvg();
|
|
|
+ }
|
|
|
}
|
|
|
)
|