合并画布
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user