合并画布

This commit is contained in:
X1627315083
2025-06-23 09:27:29 +08:00
parent fad2c220af
commit 7ab32c9c77
14 changed files with 518 additions and 58 deletions

View File

@@ -659,12 +659,15 @@ export class CanvasManager {
console.error("图层管理器未设置,无法更改固定图层图片");
return;
}
const command = new ChangeFixedImageCommand({
canvas: this.canvas,
layerManager: this.layerManager,
imageUrl: imageUrl,
targetLayerType: options.targetLayerType || "fixed", // background/fixed
options: options,
canvasWidth: this.canvasWidth,
canvasHeight: this.canvasHeight,
...options,
});
command.undoable =