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))
|
caretPath.addLine(to: CGPoint(x: frame.size.width - inset, y: frame.size.height - inset))
|
||||||
}
|
}
|
||||||
|
|
||||||
enabledColor.setStroke()
|
_ = isEnabled ? enabledColor.setStroke() : disabledColor.setStroke()
|
||||||
caretPath.stroke()
|
caretPath.stroke()
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -160,6 +160,7 @@ open class CaretView: View {
|
|||||||
isHidden = false
|
isHidden = false
|
||||||
backgroundColor = .clear
|
backgroundColor = .clear
|
||||||
enabledColor = .mvmBlack
|
enabledColor = .mvmBlack
|
||||||
|
disabledColor = .mvmCoolGray3
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Ensure you have defined a CaretSize with Orientation before calling.
|
/// Ensure you have defined a CaretSize with Orientation before calling.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user