From 22d82fac041bae77682019bc5e6beb36353a03e7 Mon Sep 17 00:00:00 2001 From: vasavk Date: Thu, 21 Mar 2024 17:17:01 +0530 Subject: [PATCH] Digital ACT-191 ONEAPP-6830 story: removed commented code --- VDS/Components/CarouselScrollbar/CarouselScrollbar.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/VDS/Components/CarouselScrollbar/CarouselScrollbar.swift b/VDS/Components/CarouselScrollbar/CarouselScrollbar.swift index 057668ef..84c3739f 100644 --- a/VDS/Components/CarouselScrollbar/CarouselScrollbar.swift +++ b/VDS/Components/CarouselScrollbar/CarouselScrollbar.swift @@ -192,7 +192,6 @@ open class CarouselScrollbar: View { leftActiveOverlay.frame = CGRectMake(trackView.frame.origin.x, 0, CGFloat(trackViewWidth), containerSize.height) leftActiveOverlay.isUserInteractionEnabled = true leftActiveOverlay.backgroundColor = .clear -// leftActiveOverlay.clipsToBounds = true let leftPressRecognizer = UILongPressGestureRecognizer(target: self, action: #selector(self.onThumbTouchStart(_:))) leftPressRecognizer.minimumPressDuration = 0 leftActiveOverlay.addGestureRecognizer(leftPressRecognizer) @@ -205,7 +204,6 @@ open class CarouselScrollbar: View { ///Right active overlay rightActiveOverlay.frame = CGRectMake(thumbView.frame.origin.x + thumbView.frame.size.width, 0, CGFloat(trackViewWidth), containerSize.height) rightActiveOverlay.isUserInteractionEnabled = true -// rightActiveOverlay.clipsToBounds = true rightActiveOverlay.backgroundColor = .clear let rightPressRecognizer = UILongPressGestureRecognizer(target: self, action: #selector(self.onThumbTouchEnd(_:))) rightPressRecognizer.minimumPressDuration = 0 @@ -363,5 +361,3 @@ open class CarouselScrollbar: View { }) } } - -