Browse Source
Merge pull request #7967 from AvaloniaUI/fixes/touchdevice-handled-events
Ignore handled events in TouchDevice.
pull/7969/head
Steven Kirk
5 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.Input/TouchDevice.cs
|
|
|
@ -32,7 +32,7 @@ namespace Avalonia.Input |
|
|
|
|
|
|
|
public void ProcessRawEvent(RawInputEventArgs ev) |
|
|
|
{ |
|
|
|
if (_disposed) |
|
|
|
if (ev.Handled || _disposed) |
|
|
|
return; |
|
|
|
var args = (RawTouchEventArgs)ev; |
|
|
|
if (!_pointers.TryGetValue(args.TouchPointId, out var pointer)) |
|
|
|
|