Procházet zdrojové kódy

fix

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana před 2 roky
rodič
revize
d2c854d3b1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 }