Skip to content

Commit

Permalink
Fixed build error
Browse files Browse the repository at this point in the history
  • Loading branch information
CPKreu committed Mar 13, 2021
1 parent f5a95db commit 92ea451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PixiEditor/Models/DataHolders/Document/Document.Layers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public Layer DuplicateLayer(int index)
duplicate.Name = GetLayerSuffix(duplicate);

Layers.Insert(index + 1, duplicate);
SetActiveLayer(index + 1);
SetMainActiveLayer(index + 1);

StorageBasedChange storageChange = new (this, new[] { duplicate }, false);
UndoManager.AddUndoChange(
Expand Down

0 comments on commit 92ea451

Please sign in to comment.