File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
TextFieldEffects/TextFieldEffects Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,6 @@ import UIKit
8080 layer. addSublayer ( inactiveBorderLayer)
8181 layer. addSublayer ( activeBorderLayer)
8282 addSubview ( placeholderLabel)
83-
84- activePlaceholderPoint = CGPoint ( x: placeholderLabel. frame. origin. x, y: placeholderLabel. frame. origin. y - placeholderLabel. frame. size. height - placeholderInsets. y)
8583 }
8684
8785 override public func animateViewsForTextEntry( ) {
@@ -160,6 +158,8 @@ import UIKit
160158 }
161159 placeholderLabel. frame = CGRect ( x: originX, y: textRect. height/ 2 ,
162160 width: placeholderLabel. bounds. width, height: placeholderLabel. bounds. height)
161+ activePlaceholderPoint = CGPoint ( x: placeholderLabel. frame. origin. x, y: placeholderLabel. frame. origin. y - placeholderLabel. frame. size. height - placeholderInsets. y)
162+
163163 }
164164
165165 // MARK: - Overrides
You can’t perform that action at this time.
0 commit comments