spelling.
This commit is contained in:
parent
d0797a4825
commit
7b6f3d6b88
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user