mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 18:25:37 +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)
|
if (scale && scale !== PDFView.currentScale)
|
||||||
PDFView.setScale(scale, true);
|
PDFView.parseScale(scale, true);
|
||||||
|
|
||||||
setTimeout(function pageViewScrollIntoViewRelayout() {
|
setTimeout(function pageViewScrollIntoViewRelayout() {
|
||||||
// letting page to re-layout before scrolling
|
// letting page to re-layout before scrolling
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue