From f015a36c237af4db2161973103e0d38f54b4df85 Mon Sep 17 00:00:00 2001 From: Tj Date: Thu, 1 Oct 2015 10:52:09 -0400 Subject: [PATCH] Turning down the error margin and granularity even further. --- Libraries/Text/RCTText.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/Text/RCTText.m b/Libraries/Text/RCTText.m index c35514c14e7e5e..2d7baec83e47b5 100644 --- a/Libraries/Text/RCTText.m +++ b/Libraries/Text/RCTText.m @@ -14,9 +14,9 @@ #import "UIView+React.h" static CGFloat const RCTTextAutoSizeDefaultMinimumFontScale = 0.5f; -static CGFloat const RCTTextAutoSizeWidthErrorMargin = 0.05f; +static CGFloat const RCTTextAutoSizeWidthErrorMargin = 0.001f; static CGFloat const RCTTextAutoSizeHeightErrorMargin = 0.15f; -static CGFloat const RCTTextAutoSizeGranularity = 0.0005f; +static CGFloat const RCTTextAutoSizeGranularity = 0.00025f; @interface RCTText ()