From c00ddc68fd2d37c92641294241879a9df7746faf Mon Sep 17 00:00:00 2001 From: Vasavi Kanamarlapudi Date: Mon, 24 Jun 2024 16:31:00 +0530 Subject: [PATCH] Digital ACT-191 ONEAPP-7013 story: changes to pagination inset --- VDS/Components/Carousel/Carousel.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/VDS/Components/Carousel/Carousel.swift b/VDS/Components/Carousel/Carousel.swift index 4ad8ef8c..6c091ce2 100644 --- a/VDS/Components/Carousel/Carousel.swift +++ b/VDS/Components/Carousel/Carousel.swift @@ -157,12 +157,11 @@ open class Carousel: View { } /// If provided, will apply margin to pagination arrows. Can be set to either positive or negative values. - /// The default value will be 12px in tablet and 8px in mobile. + /// The default value will be 12px in tablet and 8px in mobile. These values are the default in order to avoid overlapping content within the carousel. open var paginationInset: CGFloat { get { return _paginationInset } set { - let minValue = UIDevice.isIPad ? VDSLayout.space3X : VDSLayout.space2X - _paginationInset = (newValue < minValue) ? minValue : newValue + _paginationInset = newValue updatePaginationInset() } }