Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix page-switching for landscape documents with SpreadModes and Prese…
…ntationMode (PR 14877 follow-up) In PR 14877 I forgot to update the horizontal padding, used when computing the scale of the pages, for the case where SpreadModes and PresentationMode is being used together. Steps to reproduce: 1. Open the viewer with the default `tracemonkey.pdf` document. 1. Enable any SpreadMode. 2. Rotate the document *once*, either clockwise or counterclockwise. 3. Enter PresentationMode. 4. Try swithching page, e.g. by clicking on the document. Expected result: The visible pages change as you click. Actual result: The visible pages are "stuck" in the current view.
- Loading branch information