enforced animation back from highlight
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
7da9e33f9d
commit
edcaadf274
@ -53,8 +53,10 @@ open class ButtonBase: UIButton, Buttonable, Handlerable, ViewProtocol, Resettab
|
||||
self?.updateView()
|
||||
}) { [weak self] _ in
|
||||
//you update the view since this is typically a quick change
|
||||
self?.updateView()
|
||||
self?.isHighlightAnimating = false
|
||||
UIView.animate(withDuration: 0.1, animations: { [weak self] in
|
||||
self?.updateView()
|
||||
self?.isHighlightAnimating = false
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user