Browse Source
Merge pull request #8084 from AvaloniaUI/bugfix/8044-ios-input
Use top level to inform about pointer input
pull/8088/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
2 additions and
2 deletions
-
src/iOS/Avalonia.iOS/TouchHandler.cs
|
|
|
@ -41,7 +41,7 @@ namespace Avalonia.iOS |
|
|
|
_ => RawPointerEventType.TouchUpdate |
|
|
|
}, pt, RawInputModifiers.None, id); |
|
|
|
|
|
|
|
_device.ProcessRawEvent(ev); |
|
|
|
_tl.Input?.Invoke(ev); |
|
|
|
|
|
|
|
if (t.Phase == UITouchPhase.Cancelled || t.Phase == UITouchPhase.Ended) |
|
|
|
_knownTouches.Remove(t); |
|
|
|
@ -49,4 +49,4 @@ namespace Avalonia.iOS |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|