This commit is contained in:
李志鹏
2026-01-19 13:37:24 +08:00
parent e81049c332
commit 87fd5b9a93
3 changed files with 15 additions and 10 deletions

View File

@@ -1187,7 +1187,8 @@ export class CanvasManager {
obj.scale = [scaleXY, scaleXY];
obj.angle = angle;
obj.location = [left, top];
obj.gap = [fill_.gapX, fill_.gapY];
obj.object.gapX = fill_.gapX;
obj.object.gapY = fill_.gapY;
}
if(obj.level2Type === "Pattern"){
prints.push(obj);
@@ -1634,7 +1635,7 @@ export class CanvasManager {
isPrintTrims: true,
blendMode: blendMode,
fabricObjects: [image.toObject(["id", "layerId", "layerName"])],
metadata: {sourceData: item},
metadata: {sourceData: item, level2Type: item.level2Type},
})
children.push(layer);
};