Digital PCT265 story PCT-135: Carousel item clips to bounds restore.

This commit is contained in:
Hedden, Kyle Matthew 2024-05-22 18:00:17 -04:00
parent 6421c53f75
commit 9ff5b58eb5

View File

@ -22,7 +22,7 @@ open class CarouselItem: MoleculeCollectionViewCell, CarouselItemProtocol {
open override func setupView() { open override func setupView() {
super.setupView() super.setupView()
clipsToBounds = false clipsToBounds = true // Needed for container view corner rounding of subviews.
// Covers the card when peaking. // Covers the card when peaking.
peakingCover.backgroundColor = .white peakingCover.backgroundColor = .white