Browse Source
Merge pull request #7049 from workgroupengineering/fixes/Issue_7048
fixes: Window Control missing call base.OnPropertyChanged on override.
pull/7053/head
Max Katz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
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>(); |
|
|
|
|