animation fixed

This commit is contained in:
Grigory 2017-04-11 16:32:52 +03:00
parent 720d0f404c
commit c2a78d6b7b
1 changed files with 3 additions and 2 deletions

View File

@ -341,9 +341,10 @@ open class UIAnimatedTextField: UIView {
guard let strongSelf = self else {
return
}
strongSelf.placeholderLabel.frame = strongSelf.placeholderLabelFrame(state: state)
strongSelf.placeholderLabel.transform = strongSelf.placeholderLabelTransform(state: state)
strongSelf.placeholderLabel.frame = strongSelf.placeholderLabelFrame(state: state)
switch state {
case .placeholder:
strongSelf.placeholderLabel.textColor = strongSelf.placeholderBottomColor