From 6602945ebd705fa7e557425b08c9d23e5c2964ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E9=B9=8F?= <2916022834@qq.com> Date: Wed, 22 Oct 2025 15:18:56 +0800 Subject: [PATCH] 1212 --- src/component/Canvas/CanvasEditor/commands/LayerCommands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/component/Canvas/CanvasEditor/commands/LayerCommands.js b/src/component/Canvas/CanvasEditor/commands/LayerCommands.js index bf3f3220..2b258631 100644 --- a/src/component/Canvas/CanvasEditor/commands/LayerCommands.js +++ b/src/component/Canvas/CanvasEditor/commands/LayerCommands.js @@ -2226,7 +2226,7 @@ export class LayerObjectsToGroupCommand extends Command { async undo() { if (!this.activeLayer || !this.canvas || !this.groupObjectId) return; - + this.activeLayer = this.layerManager.getActiveLayer(); try { await optimizeCanvasRendering(this.canvas, async () => { if (this.wasGroupCreated) {