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…
Reference in New Issue