Digital PCT265 story PCT-135: Carousel item clips to bounds restore.
This commit is contained in:
parent
6421c53f75
commit
9ff5b58eb5
@ -22,8 +22,8 @@ open class CarouselItem: MoleculeCollectionViewCell, CarouselItemProtocol {
|
||||
|
||||
open override func setupView() {
|
||||
super.setupView()
|
||||
clipsToBounds = false
|
||||
|
||||
clipsToBounds = true // Needed for container view corner rounding of subviews.
|
||||
|
||||
// Covers the card when peaking.
|
||||
peakingCover.backgroundColor = .white
|
||||
peakingCover.alpha = 0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user