Fixing setting of auto-zoom value in bookmarks (#938)
This commit is contained in:
parent
8231ed1b11
commit
ddf9c43116
@ -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…
x
Reference in New Issue
Block a user