1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Merge pull request #2091 from gigaherz/fix-zoom-on-rotate

Refresh the zoom settings after rotating the pages
This commit is contained in:
Brendan Dahl 2012-09-10 09:40:22 -07:00
commit cc616dd34e

View file

@ -1201,9 +1201,7 @@ var PDFView = {
var currentPage = this.pages[this.page - 1];
if (this.isFullscreen) {
this.parseScale('page-fit', true);
}
this.parseScale(this.currentScaleValue, true);
this.renderHighestPriority();