rearranged of when dropShadow is added

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-04-25 17:02:14 -05:00
parent e330f17474
commit 9cfbe14969

View File

@ -329,12 +329,14 @@ open class TileContainerBase<PaddingType: DefaultValuing>: Control where Padding
widthConstraint?.isActive = false
heightConstraint?.isActive = false
}
applyBackgroundEffects()
if showDropShadow, surface == .light {
addDropShadow(dropShadowConfiguration)
} else {
removeDropShadows()
}
applyBackgroundEffects()
}
/// Used to update frames for the added CAlayers to our view