Browse Source
ignore PointerOver change when pointer event is CancelCapture (#19808)
pull/19817/head
Emmanuel Hansen
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Base/Input/PointerOverPreProcessor.cs
|
|
|
@ -77,7 +77,7 @@ namespace Avalonia.Input |
|
|
|
args.InputModifiers.ToKeyModifiers()); |
|
|
|
} |
|
|
|
else if (pointerDevice.TryGetPointer(args) is { } pointer && |
|
|
|
pointer.Type != PointerType.Touch) |
|
|
|
pointer.Type != PointerType.Touch && args.Type != RawPointerEventType.CancelCapture) |
|
|
|
{ |
|
|
|
var element = GetEffectivePointerOverElement( |
|
|
|
args.InputHitTestResult.firstEnabledAncestor, |
|
|
|
|