From 7b6f3d6b88c52c99badb25f48bfd06ef84472e3e Mon Sep 17 00:00:00 2001 From: Kevin G Christiano Date: Mon, 23 Sep 2019 14:23:37 -0400 Subject: [PATCH] spelling. --- MVMCoreUI/Atoms/Views/Label.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MVMCoreUI/Atoms/Views/Label.swift b/MVMCoreUI/Atoms/Views/Label.swift index 3c2d73c1..74394a90 100644 --- a/MVMCoreUI/Atoms/Views/Label.swift +++ b/MVMCoreUI/Atoms/Views/Label.swift @@ -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