Эх сурвалжийг харах

fix

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 жил өмнө
parent
commit
d2c854d3b1

+ 1 - 1
iOSClient/Viewer/NCViewerPDF/NCViewerPDF.swift

@@ -410,7 +410,7 @@ class NCViewerPDF: UIViewController, NCViewerPDFSearchDelegate, UIGestureRecogni
         var gotoY = currentPageY - centerPoint.y
 
         let startY = visibleRect.origin.y < 0 ? 0 : (visibleRect.origin.y + thumbnailViewHeight)
-        let endY = visibleRect.origin.y + visibleRect.height + thumbnailViewHeight
+        let endY = visibleRect.origin.y + visibleRect.height
 
         if currentPageY < startY {
             if gotoY < 0 { gotoY = 0 }