Explorar o código

fix

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana %!s(int64=2) %!d(string=hai) anos
pai
achega
d2c854d3b1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      iOSClient/Viewer/NCViewerPDF/NCViewerPDF.swift

+ 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 }