Browse Source

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

pull/7049/head
Giuseppe Lippolis 5 years ago
parent
commit
26722e410e
  1. 1
      src/Avalonia.Controls/Window.cs

1
src/Avalonia.Controls/Window.cs

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

Loading…
Cancel
Save