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:
Bruce, Matt R 2024-04-25 22:03:39 +00:00
commit 3c5f68a830

View File

@ -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