added borders to the cells for carousel

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-08-27 11:44:10 -05:00
parent 63499838c6
commit 31f01773c4

View File

@ -520,6 +520,11 @@ extension Carousel: UICollectionViewDelegate, UICollectionViewDataSource, UIColl
let component = views[indexPath.row] let component = views[indexPath.row]
cell.update(with: component, slotAlignment: slotAlignment, surface: surface) cell.update(with: component, slotAlignment: slotAlignment, surface: surface)
cell.layoutIfNeeded() cell.layoutIfNeeded()
if hasDebugBorder {
cell.addDebugBorder()
} else {
cell.removeDebugBorder()
}
return cell return cell
} }