This commit is contained in:
李志鹏
2026-04-13 11:52:24 +08:00
parent c6b1bdbdf1
commit 4352f7c2f4
4 changed files with 2099 additions and 2085 deletions

View File

@@ -608,7 +608,7 @@ export class ExportManager {
// tempFabricCanvas.setZoom(1);
const ox = fixedLayerObject.left - fixedLayerObject.width * fixedLayerObject.scaleX / 2
const oy = fixedLayerObject.top - fixedLayerObject.height * fixedLayerObject.scaleY / 2
console.log("==========", fixedLayerObject, ox, oy)
// console.log("==========", fixedLayerObject, ox, oy)
try {
// 克隆并添加所有对象到临时画布,需要调整位置相对于固定图层
for (let i = 0; i < objectsToExport.length; i++) {