Merge branch 'bugfix/tileContainer-dropShadow' into 'develop'
rearranged of when dropShadow is added See merge request BPHV_MIPS/vds_ios!216
This commit is contained in:
commit
3c5f68a830
@ -329,12 +329,14 @@ open class TileContainerBase<PaddingType: DefaultValuing>: Control where Padding
|
|||||||
widthConstraint?.isActive = false
|
widthConstraint?.isActive = false
|
||||||
heightConstraint?.isActive = false
|
heightConstraint?.isActive = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
applyBackgroundEffects()
|
||||||
|
|
||||||
if showDropShadow, surface == .light {
|
if showDropShadow, surface == .light {
|
||||||
addDropShadow(dropShadowConfiguration)
|
addDropShadow(dropShadowConfiguration)
|
||||||
} else {
|
} else {
|
||||||
removeDropShadows()
|
removeDropShadows()
|
||||||
}
|
}
|
||||||
applyBackgroundEffects()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Used to update frames for the added CAlayers to our view
|
/// Used to update frames for the added CAlayers to our view
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user