pushed
zhengqunkoo/fbpdf • 2:39 PM - Feb 17, 2020
This change updates fbpdf’s main loop to compute explicit vertical scroll limits and trigger page loads when the viewport reaches the top or bottom margin. Instead of clamping strictly within the current page, scrolling now attempts to move into the previous or next page using loadpage() and getcount(1), with sensible fallbacks when no adjacent page is available. The result is smoother navigation through PDFs, especially when reading continuously across page boundaries.