added borders to the cells for carousel
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
63499838c6
commit
31f01773c4
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user