修复overall模式角度设置不上

This commit is contained in:
X1627315083@163.com
2026-02-05 16:41:56 +08:00
parent 96b3636aea
commit b2cb7378d6

View File

@@ -300,7 +300,7 @@ export default defineComponent({
// location = [item.pattern.style.left,item.pattern.style.top]
}
let value ={
angle : item.pattern.transform.rotateZ,
angle:0,
// angle : !this.overallSingle ? 0:item.pattern.transform.rotateZ,
location : location,
priority:item.priority,
@@ -312,7 +312,9 @@ export default defineComponent({
ifSingle:!!item.ifSingle,
globalCompositeOperation:'',
}
if(item.object)value.object = item.object
if(item.object)value.object = item.object;
value.angle = value.ifSingle?item.pattern.transform.rotateZ:item.angle
return value
}
if(editPrintElementData.printStyleList[props.type].single.length>0){
@@ -915,6 +917,7 @@ export default defineComponent({
}
const inputFillAngle = (angle:any)=>{
let arr = editPrintElementData.printStyleList[props.type].overall
console.log(angle)
arr[editPrintElementData.imgDomIndex].angle = angle
editPrintElementDom.pingpuRef.updataList([
{