Digital ACT-191 ONEAPP-6830 story: removed commented code
This commit is contained in:
parent
5356650355
commit
22d82fac04
@ -192,7 +192,6 @@ open class CarouselScrollbar: View {
|
|||||||
leftActiveOverlay.frame = CGRectMake(trackView.frame.origin.x, 0, CGFloat(trackViewWidth), containerSize.height)
|
leftActiveOverlay.frame = CGRectMake(trackView.frame.origin.x, 0, CGFloat(trackViewWidth), containerSize.height)
|
||||||
leftActiveOverlay.isUserInteractionEnabled = true
|
leftActiveOverlay.isUserInteractionEnabled = true
|
||||||
leftActiveOverlay.backgroundColor = .clear
|
leftActiveOverlay.backgroundColor = .clear
|
||||||
// leftActiveOverlay.clipsToBounds = true
|
|
||||||
let leftPressRecognizer = UILongPressGestureRecognizer(target: self, action: #selector(self.onThumbTouchStart(_:)))
|
let leftPressRecognizer = UILongPressGestureRecognizer(target: self, action: #selector(self.onThumbTouchStart(_:)))
|
||||||
leftPressRecognizer.minimumPressDuration = 0
|
leftPressRecognizer.minimumPressDuration = 0
|
||||||
leftActiveOverlay.addGestureRecognizer(leftPressRecognizer)
|
leftActiveOverlay.addGestureRecognizer(leftPressRecognizer)
|
||||||
@ -205,7 +204,6 @@ open class CarouselScrollbar: View {
|
|||||||
///Right active overlay
|
///Right active overlay
|
||||||
rightActiveOverlay.frame = CGRectMake(thumbView.frame.origin.x + thumbView.frame.size.width, 0, CGFloat(trackViewWidth), containerSize.height)
|
rightActiveOverlay.frame = CGRectMake(thumbView.frame.origin.x + thumbView.frame.size.width, 0, CGFloat(trackViewWidth), containerSize.height)
|
||||||
rightActiveOverlay.isUserInteractionEnabled = true
|
rightActiveOverlay.isUserInteractionEnabled = true
|
||||||
// rightActiveOverlay.clipsToBounds = true
|
|
||||||
rightActiveOverlay.backgroundColor = .clear
|
rightActiveOverlay.backgroundColor = .clear
|
||||||
let rightPressRecognizer = UILongPressGestureRecognizer(target: self, action: #selector(self.onThumbTouchEnd(_:)))
|
let rightPressRecognizer = UILongPressGestureRecognizer(target: self, action: #selector(self.onThumbTouchEnd(_:)))
|
||||||
rightPressRecognizer.minimumPressDuration = 0
|
rightPressRecognizer.minimumPressDuration = 0
|
||||||
@ -363,5 +361,3 @@ open class CarouselScrollbar: View {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user