Browse Source
Merge branch 'master' into fix-TargetNullValue-xaml
pull/3348/head
Luis v.d.Eltz
6 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/PopupPositioning/IPopupPositioner.cs
|
|
|
@ -306,7 +306,7 @@ namespace Avalonia.Controls.Primitives.PopupPositioning |
|
|
|
if (placement == PlacementMode.Pointer) |
|
|
|
{ |
|
|
|
positionerParameters.AnchorRectangle = new Rect(pointer, new Size(1, 1)); |
|
|
|
positionerParameters.Anchor = PopupPositioningEdge.BottomRight; |
|
|
|
positionerParameters.Anchor = PopupPositioningEdge.TopLeft; |
|
|
|
positionerParameters.Gravity = PopupPositioningEdge.BottomRight; |
|
|
|
} |
|
|
|
else |
|
|
|
|