     fileprivate var __zoomOutTapEnabled: Bool = true
     fileprivate var _centerHorizontally: Bool = true
     fileprivate var _centerVertically: Bool = true
+    fileprivate var _maximumZoomScale: CGFloat = 1
     fileprivate var _doubleTapNextScale: CGFloat?
 
     

    
    public var maximumScale: CGFloat {
        get {
            return self._scrollView.maximumZoomScale
        }
        set(newMaximumZoomScale) {
            self._scrollView.maximumZoomScale = newMaximumZoomScale
        }
    }
    

            self._scrollView.zoomOut(animated: false)
        } else if currentZoomScale > maxScale {
            self._scrollView.zoomIn(animated: false)
        } else {
            self.delegate?.zoomed(to: currentZoomScale, in: self)
        }
    }
}
