Skip to content

Commit

Permalink
Fixed groups bug
Browse files Browse the repository at this point in the history
  • Loading branch information
flabbet committed Dec 16, 2021
1 parent f8bb5d0 commit 4d06ec2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PixiEditor/Models/DataHolders/Document/Document.Layers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,8 @@ private void InsertLayersAtIndexesProcess(Layer[] layers, UndoLayer[] data, obje
{
if (args.Length > 0 && args[0] is int layerIndex)
{
Layers.RemoveAt(layerIndex);
RemoveLayer(layerIndex, false);

for (int i = 0; i < layers.Length; i++)
{
Layer layer = layers[i];
Expand Down

0 comments on commit 4d06ec2

Please sign in to comment.