Merge pull request #939 from notmasteryet/tree-50
Fixing setting of auto-zoom value in bookmarks
This commit is contained in:
commit
27f0252c34
@ -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…
x
Reference in New Issue
Block a user