revert.
This commit is contained in:
parent
8aaa8cb77f
commit
a4aedaad90
@ -732,7 +732,7 @@ extension UITapGestureRecognizer {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
case .center:
|
case .center:
|
||||||
let halfBounds = label.center.x
|
let halfBounds = label.bounds.width / 2
|
||||||
let halfIntrinsicWidth = intrinsicWidth / 2
|
let halfIntrinsicWidth = intrinsicWidth / 2
|
||||||
|
|
||||||
if tapLocation.x > halfBounds + halfIntrinsicWidth {
|
if tapLocation.x > halfBounds + halfIntrinsicWidth {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user