Browse Source

Added Channels Dock to layers area in layout

CPKreuz 1 year ago
parent
commit
b7251ba2b3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/PixiEditor.AvaloniaUI/ViewModels/Dock/LayoutManager.cs

+ 2 - 1
src/PixiEditor.AvaloniaUI/ViewModels/Dock/LayoutManager.cs

@@ -93,7 +93,8 @@ internal class LayoutManager
                         SplitDirection = DockingDirection.Bottom,
                         Second = new DockableArea
                         {
-                            Id = "LayersArea", ActiveDockable = DockContext.CreateDockable(layersDockViewModel)
+                            Id = "LayersArea",
+                            Dockables = [ DockContext.CreateDockable(layersDockViewModel), DockContext.CreateDockable(channelsDockDockViewModel) ]
                         },
                     },
                     FirstSize = 0.66,