This commit is contained in:
李志鹏
2025-10-22 15:18:56 +08:00
parent adcaeccc33
commit 6602945ebd

View File

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