修复overall模式角度设置不上
This commit is contained in:
@@ -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([
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user