bugfix for caretbutton
This commit is contained in:
parent
a45fd12da5
commit
32bd4c9d07
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user