DescriptionOOP PDF: Fix incorrect scrolling during fit-to-page
Currently whenever fitToPage is called on the viewport, it scrolls to
the top of the current page. But this isn't always correct. In the
case of resizing the viewport, we shouldn't change the scroll pos.
Setting the document dimensions also follows this codepath.
BUG=458050
Committed: https://crrev.com/161514f59647a9462af1d98652fb85d8c1bd6002
Cr-Commit-Position: refs/heads/master@{#316531}
Patch Set 1 #Patch Set 2 : #
Total comments: 4
Patch Set 3 : #Patch Set 4 : #
Messages
Total messages: 9 (2 generated)
|