diff --git a/VDSSample/ViewControllers/CarouselViewController.swift b/VDSSample/ViewControllers/CarouselViewController.swift index 02df53a..94b6553 100644 --- a/VDSSample/ViewControllers/CarouselViewController.swift +++ b/VDSSample/ViewControllers/CarouselViewController.swift @@ -121,7 +121,7 @@ class CarouselViewController: BaseViewController { if let number { self?.component.paginationInset = number.cgFloatValue } else { - self?.component.paginationInset = UIDevice.isIPad ? VDSLayout.space12X : VDSLayout.space8X + self?.component.paginationInset = UIDevice.isIPad ? VDSLayout.space3X : VDSLayout.space2X } }.store(in: &subscribers) @@ -141,8 +141,7 @@ class CarouselViewController: BaseViewController { layoutPickerSelectorView.text = component.layout.rawValue paginationKindPickerSelectorView.text = ButtonIcon.Kind.lowContrast.rawValue paginationFloatingSwitch.isOn = true - paginationInsetField.text = UIDevice.isIPad ? "12px" : "8px" - paginationInsetField.isUserInteractionEnabled = false + paginationInsetField.text = UIDevice.isIPad ? "12" : "8" component.data = [{},{},{},{},{},{},{},{}] }