1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2025-02-03 18:57:46 +01:00

Fixing case where events aren't forwarded

This commit is contained in:
Chase Carroll 2022-12-07 07:19:48 -05:00
parent 6f09034668
commit 08ec662e22

View File

@ -115,10 +115,9 @@ public final class TouchesVisibleWindow: UIWindow {
touchViews[touch] = touchView
case .moved:
guard let touchView = touchViews[touch] else {
return
if let touchView = touchViews[touch] {
touchView.center = touchLocation
}
touchView.center = touchLocation
case .ended, .cancelled:
cleanupTouch(touch)