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:
commit
cc616dd34e
1 changed files with 1 additions and 3 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue