Remove debug comments

This commit is contained in:
Scott Pfeil 2023-08-21 17:20:27 -04:00
parent ba8aa92994
commit 07fcca17fc

View File

@ -90,8 +90,6 @@ fileprivate enum SubNavPanningDirection : Int {
switch (pan.state) {
case .began:
print("sssss \(#function) began")
// Begin the transition to the next page.
panning = true
if velocityX < 0 && pannableFrameRight.contains(locationInView) {
@ -119,15 +117,11 @@ fileprivate enum SubNavPanningDirection : Int {
shouldCompleteTransition = percentage > 0.65;
update(percentage)
delegate?.update(percentage: percentage)
print("sssss \(#function) changed \(percentage)")
case .cancelled:
cancel()
print("sssss \(#function) cancelled")
case .ended:
print("sssss \(#function) ended")
if ((percentage < 0) != (velocityX < 0)) && abs(velocityX) > 50 {
// If we are moving back toward the previous view we want to cancel. (the speed threshold is for shaky hands)
cancel()