Merge pull request #939 from notmasteryet/tree-50

Fixing setting of auto-zoom value in bookmarks
This commit is contained in:
Brendan Dahl 2011-12-14 16:50:51 -08:00
commit 27f0252c34

View File

@ -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