fix: 在栅格化成功后切换到液化工具

This commit is contained in:
bighuixiang
2025-07-24 21:49:29 +08:00
parent dc9f3d4a4f
commit a8033642fb
2 changed files with 5 additions and 1 deletions

View File

@@ -112,6 +112,8 @@ export class RasterizeLayerCommand extends Command {
this.canvas?.thumbnailManager?.generateLayerThumbnail?.(
this.rasterizedLayerId
);
this.layerManager.activeLayerId.value = this.rasterizedLayerId;
return this.rasterizedLayerId;
} catch (error) {
console.error("组合图层失败:", error);