mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-02-08 00:21:11 +01: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
@ -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…
x
Reference in New Issue
Block a user