mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Fixing setting of auto-zoom value in bookmarks (#938)
This commit is contained in:
parent
8231ed1b11
commit
ddf9c43116
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ var PageView = function pageView(container, content, id, pageWidth, pageHeight,
|
|||
];
|
||||
|
||||
if (scale && scale !== PDFView.currentScale)
|
||||
PDFView.setScale(scale, true);
|
||||
PDFView.parseScale(scale, true);
|
||||
|
||||
setTimeout(function pageViewScrollIntoViewRelayout() {
|
||||
// letting page to re-layout before scrolling
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue