Skip to content

Commit

Permalink
Turning down the error margin and granularity even further.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tj committed Oct 1, 2015
1 parent afb65ff commit f015a36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Libraries/Text/RCTText.m
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()

Expand Down

0 comments on commit f015a36

Please sign in to comment.