This commit is contained in:
Kevin G Christiano 2019-10-23 15:43:57 -04:00
parent 8aaa8cb77f
commit a4aedaad90

View File

@ -732,7 +732,7 @@ extension UITapGestureRecognizer {
return false
}
case .center:
let halfBounds = label.center.x
let halfBounds = label.bounds.width / 2
let halfIntrinsicWidth = intrinsicWidth / 2
if tapLocation.x > halfBounds + halfIntrinsicWidth {