Browse Source
Disable WindowManagerAddShadowHint by default
It makes more sense to be disabled by default.
pull/6717/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
1 deletions
-
src/Avalonia.Controls/Primitives/Popup.cs
|
|
|
@ -23,7 +23,7 @@ namespace Avalonia.Controls.Primitives |
|
|
|
public class Popup : Control, IVisualTreeHost, IPopupHostProvider |
|
|
|
{ |
|
|
|
public static readonly StyledProperty<bool> WindowManagerAddShadowHintProperty = |
|
|
|
AvaloniaProperty.Register<PopupRoot, bool>(nameof(WindowManagerAddShadowHint), true); |
|
|
|
AvaloniaProperty.Register<PopupRoot, bool>(nameof(WindowManagerAddShadowHint), false); |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Defines the <see cref="Child"/> property.
|
|
|
|
|