Browse Source

fixes: Window Control missing call base.OnPropertyChanged on override.

Giuseppe Lippolis 3 years ago
parent
commit
26722e410e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Avalonia.Controls/Window.cs

+ 1 - 0
src/Avalonia.Controls/Window.cs

@@ -994,6 +994,7 @@ namespace Avalonia.Controls
 
         protected override void OnPropertyChanged<T>(AvaloniaPropertyChangedEventArgs<T> change)
         {
+            base.OnPropertyChanged(change);
             if (change.Property == SystemDecorationsProperty)
             {
                 var typedNewValue = change.NewValue.GetValueOrDefault<SystemDecorations>();