spelling.

This commit is contained in:
Kevin G Christiano 2019-09-23 14:23:37 -04:00
parent d0797a4825
commit 7b6f3d6b88

View File

@ -701,11 +701,11 @@ extension UITapGestureRecognizer {
}
case .center:
let halfBounds = label.bounds.width / 2
let halfintrinsicWidth = intrinsicWidth / 2
let halfIntrinsicWidth = intrinsicWidth / 2
if tapLocation.x > halfBounds + halfintrinsicWidth{
if tapLocation.x > halfBounds + halfIntrinsicWidth {
return false
} else if tapLocation.x < halfBounds - halfintrinsicWidth {
} else if tapLocation.x < halfBounds - halfIntrinsicWidth {
return false
}
default: // Left align