bugfix for caretbutton

This commit is contained in:
panxi 2019-04-19 15:22:54 -04:00
parent a45fd12da5
commit 32bd4c9d07

View File

@ -63,7 +63,8 @@ open class CaretButton: MFCustomButton {
private func changeCaretColor() {
if let rightCaretView = rightView as? CaretView {
rightCaretView.tintColor = isEnabled ? enabledColor : disabledColor
let lineColor = isEnabled ? enabledColor : disabledColor
rightCaretView.setLineColor(lineColor)
}
}