红绿图b

This commit is contained in:
李志鹏
2026-04-15 11:37:11 +08:00
parent f43c56236b
commit 8966b52430

View File

@@ -622,6 +622,10 @@ export class ExportManager {
let scaleY = cloned.scaleY / fixedLayerObject.scaleY
let top = (cloned.top - oy) * scaleY
let left = (cloned.left - ox) * scaleX
if (cloned.originX === "center" && cloned.originY === "center") {
top = canvasHeight / 2
left = canvasWidth / 2
}
cloned.set({
left: left,
top: top,