Merge branch 'bugfix/missing_color_enableable' into 'develop'
Missing color for enable state See merge request BPHV_MIPS/mvm_core_ui!586
This commit is contained in:
commit
abdb0d7e11
@ -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