missing color for enable state
This commit is contained in:
parent
dc8e580f87
commit
2b4469db63
@ -140,7 +140,7 @@ open class CaretView: View {
|
||||
caretPath.addLine(to: CGPoint(x: frame.size.width - inset, y: frame.size.height - inset))
|
||||
}
|
||||
|
||||
enabledColor.setStroke()
|
||||
_ = isEnabled ? enabledColor.setStroke() : disabledColor.setStroke()
|
||||
caretPath.stroke()
|
||||
}
|
||||
|
||||
@ -160,6 +160,7 @@ open class CaretView: View {
|
||||
isHidden = false
|
||||
backgroundColor = .clear
|
||||
enabledColor = .mvmBlack
|
||||
disabledColor = .mvmCoolGray3
|
||||
}
|
||||
|
||||
/// Ensure you have defined a CaretSize with Orientation before calling.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user