Browse Source
Don't clear pointer capture unless we had pointer capture (#13489)
UnsafeAsSpan-logical-children
Tom Edwards
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
1 deletions
-
src/Avalonia.Base/Input/Pointer.cs
|
|
|
@ -88,7 +88,10 @@ namespace Avalonia.Input |
|
|
|
|
|
|
|
public void Dispose() |
|
|
|
{ |
|
|
|
Capture(null); |
|
|
|
if (Captured != null) |
|
|
|
{ |
|
|
|
Capture(null); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|