Skip to content

Commit

Permalink
Merge pull request #8 from jameshurst/master
Browse files Browse the repository at this point in the history
Fixed placeholder label y position
  • Loading branch information
josipbernat committed Jun 12, 2015
2 parents c18cb3e + 0d71d5e commit bcbcebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CSGrowingTextView/CSGrowingTextView/CSGrowingTextView.m
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ - (void)updateLayout {
}

- (CGFloat)insetsValue {
return self.minimumNumberOfLines * (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_6_1 ? -2.0 : -3.0);
return self.minimumNumberOfLines * (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_6_1 ? -2.0 : 0.0);
}

- (void)updatePlaceholderFrame {
Expand Down

0 comments on commit bcbcebe

Please sign in to comment.