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:
parent
6f09034668
commit
08ec662e22
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user