Digital ACT-191 CXTDT-568413 defect: Calendar - Missing option for Transparent Background
This commit is contained in:
parent
c02ed37121
commit
a3fe0b7278
@ -120,7 +120,7 @@ open class CalendarBase: Control, Changeable {
|
|||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
internal var containerBorderColorConfiguration = SurfaceColorConfiguration(VDSColor.elementsPrimaryOnlight , VDSColor.elementsPrimaryOndark)
|
internal var containerBorderColorConfiguration = SurfaceColorConfiguration(VDSColor.elementsPrimaryOnlight , VDSColor.elementsPrimaryOndark)
|
||||||
internal var backgroundColorConfiguration = SurfaceColorConfiguration(VDSFormControlsColor.backgroundOnlight, VDSFormControlsColor.backgroundOndark)
|
internal var backgroundColorConfiguration = SurfaceColorConfiguration(VDSFormControlsColor.backgroundOnlight, VDSFormControlsColor.backgroundOndark)
|
||||||
|
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
// MARK: - Overrides
|
// MARK: - Overrides
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
@ -163,8 +163,7 @@ open class CalendarBase: Control, Changeable {
|
|||||||
displayDate = fallsBetween ? displayDate : minDate
|
displayDate = fallsBetween ? displayDate : minDate
|
||||||
fetchDates(with: displayDate)
|
fetchDates(with: displayDate)
|
||||||
}
|
}
|
||||||
|
containerView.backgroundColor = transparentBackground ? .clear : backgroundColorConfiguration.getColor(self)
|
||||||
containerView.layer.backgroundColor = backgroundColorConfiguration.getColor(self).cgColor
|
|
||||||
containerView.layer.cornerRadius = VDSFormControls.borderRadius
|
containerView.layer.cornerRadius = VDSFormControls.borderRadius
|
||||||
if hideContainerBorder {
|
if hideContainerBorder {
|
||||||
containerView.layer.borderColor = nil
|
containerView.layer.borderColor = nil
|
||||||
|
|||||||
@ -12,6 +12,7 @@
|
|||||||
- CXTDT-568402 - Calendar - Extra row (on smaller screen size devices)
|
- CXTDT-568402 - Calendar - Extra row (on smaller screen size devices)
|
||||||
- CXTDT-568409 - Calendar - Width control missing
|
- CXTDT-568409 - Calendar - Width control missing
|
||||||
- CXTDT-568419 - Calendar - When hideContainerBorder=true, corner radius disappears
|
- CXTDT-568419 - Calendar - When hideContainerBorder=true, corner radius disappears
|
||||||
|
- CXTDT-568413 - Calendar - Missing option for Transparent Background
|
||||||
|
|
||||||
1.0.65
|
1.0.65
|
||||||
----------------
|
----------------
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user