From 0d71d5e0b9b21389a0dc82baea1b810cb79a25b3 Mon Sep 17 00:00:00 2001 From: James Hurst Date: Thu, 11 Jun 2015 18:48:26 -0400 Subject: [PATCH] Fixed placeholder label y position --- CSGrowingTextView/CSGrowingTextView/CSGrowingTextView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CSGrowingTextView/CSGrowingTextView/CSGrowingTextView.m b/CSGrowingTextView/CSGrowingTextView/CSGrowingTextView.m index 56d0958..0b28403 100644 --- a/CSGrowingTextView/CSGrowingTextView/CSGrowingTextView.m +++ b/CSGrowingTextView/CSGrowingTextView/CSGrowingTextView.m @@ -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 {