removed plural
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
52dea2a72e
commit
18c68b3949
@ -171,7 +171,7 @@ open class TileContainerBase<PaddingType: DefaultValuing>: Control where Padding
|
|||||||
open var showBorder: Bool = false { didSet { setNeedsUpdate() } }
|
open var showBorder: Bool = false { didSet { setNeedsUpdate() } }
|
||||||
|
|
||||||
/// Determines if there is a drop shadow or not.
|
/// 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
|
// MARK: - Constraints
|
||||||
@ -274,7 +274,7 @@ open class TileContainerBase<PaddingType: DefaultValuing>: Control where Padding
|
|||||||
width = nil
|
width = nil
|
||||||
height = nil
|
height = nil
|
||||||
showBorder = false
|
showBorder = false
|
||||||
showDropShadows = false
|
showDropShadow = false
|
||||||
shouldUpdateView = true
|
shouldUpdateView = true
|
||||||
setNeedsUpdate()
|
setNeedsUpdate()
|
||||||
}
|
}
|
||||||
@ -316,7 +316,7 @@ open class TileContainerBase<PaddingType: DefaultValuing>: Control where Padding
|
|||||||
widthConstraint?.isActive = false
|
widthConstraint?.isActive = false
|
||||||
heightConstraint?.isActive = false
|
heightConstraint?.isActive = false
|
||||||
}
|
}
|
||||||
if showDropShadows, surface == .light {
|
if showDropShadow, surface == .light {
|
||||||
addDropShadow(dropShadowConfiguration)
|
addDropShadow(dropShadowConfiguration)
|
||||||
} else {
|
} else {
|
||||||
removeDropShadows()
|
removeDropShadows()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user