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) {