Explorar o código

fix: 只有五线谱支持编辑谱面和回显谱面元素移动的信息

TIANYONG hai 9 meses
pai
achega
8e359d6827
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/view/plugins/move-music-score/index.tsx

+ 1 - 1
src/view/plugins/move-music-score/index.tsx

@@ -491,7 +491,7 @@ const handleUndo = () => {
 
 /** 根据移动数据渲染 */
 export const renderForMoveData = () => {
-	if (state.isSingleLine) return; 
+	if (state.isSingleLine || state.musicRenderType !== 'staff') return; 
 	if (state.extStyleConfigJson) {
 		try {
 			extStyleConfigJson = JSON.parse(state.extStyleConfigJson);