diff --git a/PingPong/Projects/DesignSystem/Sources/View/SnapCarousel/SnapCarousel.swift b/PingPong/Projects/DesignSystem/Sources/View/SnapCarousel/SnapCarousel.swift index ccf05c8a..ddc23b43 100644 --- a/PingPong/Projects/DesignSystem/Sources/View/SnapCarousel/SnapCarousel.swift +++ b/PingPong/Projects/DesignSystem/Sources/View/SnapCarousel/SnapCarousel.swift @@ -53,7 +53,9 @@ public struct SnapCarousel : View{ }) .onEnded({value in let offsetX = value.translation.width - let progress = -offsetX / width + + //MARK: - 가중치 + let progress = (-offsetX / width) * 1.2 let roundIndex = progress.rounded() currentIndex = max(min(currentIndex + Int(roundIndex),list.count - 1 ), 0 ) currentIndex = index