Skip to content

Commit

Permalink
Merge pull request facebook#13 from skillz/bugfix-auto-sizing
Browse files Browse the repository at this point in the history
Turning down the error margin and granularity even further.
  • Loading branch information
Tj committed Oct 1, 2015
2 parents afb65ff + f015a36 commit 4fcb482
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 4fcb482

Please sign in to comment.