Browse Source
Merge branch 'master' into feature/handleTabstopps
pull/7044/head
Benedikt Stebner
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
1 deletions
-
src/Avalonia.Controls/Flyouts/FlyoutBase.cs
-
src/Avalonia.Controls/Window.cs
|
|
|
@ -22,7 +22,7 @@ namespace Avalonia.Controls.Primitives |
|
|
|
/// <summary>
|
|
|
|
/// Defines the <see cref="IsOpen"/> property
|
|
|
|
/// </summary>
|
|
|
|
private static readonly DirectProperty<FlyoutBase, bool> IsOpenProperty = |
|
|
|
public static readonly DirectProperty<FlyoutBase, bool> IsOpenProperty = |
|
|
|
AvaloniaProperty.RegisterDirect<FlyoutBase, bool>(nameof(IsOpen), |
|
|
|
x => x.IsOpen); |
|
|
|
|
|
|
|
|
|
|
|
@ -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>(); |
|
|
|
|