Digital ACT-191 ONEAPP-6830 story: removed commented code

This commit is contained in:
vasavk 2024-03-21 17:17:01 +05:30
parent 5356650355
commit 22d82fac04

View File

@ -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 {
})
}
}