Skip to content

Commit

Permalink
Merge pull request facebook#12 from skillz/increase-auto-fontsize-gra…
Browse files Browse the repository at this point in the history
…nularity

Increase Text auto size granularity to prevent clipping.
  • Loading branch information
jnhuynh committed Sep 21, 2015
2 parents 1d47b14 + 3145e28 commit d9d181a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Text/RCTText.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
static CGFloat const RCTTextAutoSizeDefaultMinimumFontScale = 0.5f;
static CGFloat const RCTTextAutoSizeWidthErrorMargin = 0.05f;
static CGFloat const RCTTextAutoSizeHeightErrorMargin = 0.15f;
static CGFloat const RCTTextAutoSizeGranularity = 0.01f;
static CGFloat const RCTTextAutoSizeGranularity = 0.0005f;

@interface RCTText ()

Expand Down

0 comments on commit d9d181a

Please sign in to comment.