合并画布
This commit is contained in:
@@ -212,6 +212,10 @@ export class BackgroundSizeCommand extends Command {
|
||||
this.canvas.setWidth(this.newWidth);
|
||||
this.canvas.setHeight(this.newHeight);
|
||||
|
||||
console.log(
|
||||
`调整画布大小:${this.oldWidth}x${this.oldHeight} -> ${this.newWidth}x${this.newHeight}`
|
||||
);
|
||||
|
||||
// 如果使用 CanvasManager,通知它画布大小变化
|
||||
if (
|
||||
this.canvasManager &&
|
||||
|
||||
Reference in New Issue
Block a user