Merge branch 'bugfix/tileContainer' into 'develop'
removed plural See merge request BPHV_MIPS/vds_ios!215
This commit is contained in:
commit
e330f17474
@ -184,7 +184,7 @@ open class TileContainerBase<PaddingType: DefaultValuing>: Control where Padding
|
||||
open var showBorder: Bool = false { didSet { setNeedsUpdate() } }
|
||||
|
||||
/// Determines if there is a drop shadow or not.
|
||||
open var showDropShadows: Bool = false { didSet { setNeedsUpdate() } }
|
||||
open var showDropShadow: Bool = false { didSet { setNeedsUpdate() } }
|
||||
|
||||
//--------------------------------------------------
|
||||
// MARK: - Constraints
|
||||
@ -287,7 +287,7 @@ open class TileContainerBase<PaddingType: DefaultValuing>: Control where Padding
|
||||
width = nil
|
||||
height = nil
|
||||
showBorder = false
|
||||
showDropShadows = false
|
||||
showDropShadow = false
|
||||
shouldUpdateView = true
|
||||
setNeedsUpdate()
|
||||
}
|
||||
@ -329,7 +329,7 @@ open class TileContainerBase<PaddingType: DefaultValuing>: Control where Padding
|
||||
widthConstraint?.isActive = false
|
||||
heightConstraint?.isActive = false
|
||||
}
|
||||
if showDropShadows, surface == .light {
|
||||
if showDropShadow, surface == .light {
|
||||
addDropShadow(dropShadowConfiguration)
|
||||
} else {
|
||||
removeDropShadows()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user