Browse Source

Fixed build error

CPKreuz 4 năm trước cách đây
mục cha
commit
92ea451445
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      PixiEditor/Models/DataHolders/Document/Document.Layers.cs

+ 1 - 1
PixiEditor/Models/DataHolders/Document/Document.Layers.cs

@@ -139,7 +139,7 @@ namespace PixiEditor.Models.DataHolders
             duplicate.Name = GetLayerSuffix(duplicate);
 
             Layers.Insert(index + 1, duplicate);
-            SetActiveLayer(index + 1);
+            SetMainActiveLayer(index + 1);
 
             StorageBasedChange storageChange = new (this, new[] { duplicate }, false);
             UndoManager.AddUndoChange(