1212
This commit is contained in:
@@ -2226,7 +2226,7 @@ export class LayerObjectsToGroupCommand extends Command {
|
|||||||
|
|
||||||
async undo() {
|
async undo() {
|
||||||
if (!this.activeLayer || !this.canvas || !this.groupObjectId) return;
|
if (!this.activeLayer || !this.canvas || !this.groupObjectId) return;
|
||||||
|
this.activeLayer = this.layerManager.getActiveLayer();
|
||||||
try {
|
try {
|
||||||
await optimizeCanvasRendering(this.canvas, async () => {
|
await optimizeCanvasRendering(this.canvas, async () => {
|
||||||
if (this.wasGroupCreated) {
|
if (this.wasGroupCreated) {
|
||||||
|
|||||||
Reference in New Issue
Block a user