Krzysztof Krysiński 1 år sedan
förälder
incheckning
ff123ea2c4

+ 0 - 1
src/PixiEditor.AvaloniaUI/ViewModels/Dock/DockFactory.cs

@@ -191,7 +191,6 @@ internal class DockFactory : Factory
 
     public override void InitLayout(IDockable layout)
     {
-        // Uhh, don't ask me what to put here, I just copied from the example
         DockableLocator = new Dictionary<string, Func<IDockable?>>()
         {
             { "MainLayout", () => mainLayout },

+ 2 - 2
src/PixiEditor.AvaloniaUI/Views/Dialogs/PixiEditorPopup.cs

@@ -8,7 +8,7 @@ using PixiEditor.Extensions.Windowing;
 
 namespace PixiEditor.AvaloniaUI.Views.Dialogs;
 
-public partial class PixiEditorPopup : Window, IStyleable, IPopupWindow
+public partial class PixiEditorPopup : Window, IPopupWindow
 {
     public string UniqueId => "PixiEditor.Popup";
 
@@ -39,7 +39,7 @@ public partial class PixiEditorPopup : Window, IStyleable, IPopupWindow
         set => SetValue(CanMinimizeProperty, value);
     }
 
-    Type IStyleable.StyleKey => typeof(PixiEditorPopup);
+    protected override Type StyleKeyOverride => typeof(PixiEditorPopup);
 
     public PixiEditorPopup()
     {