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