Merge pull request #5360 from Snuffleupagus/pr-5359-followup
Followup fix for entering/exiting Presentation mode
This commit is contained in:
commit
f5d416cfdf
@ -368,7 +368,7 @@ var PageView = function pageView(container, id, scale, defaultViewport,
|
|||||||
}
|
}
|
||||||
dest = null;
|
dest = null;
|
||||||
// Fixes the case when PDF has different page sizes.
|
// Fixes the case when PDF has different page sizes.
|
||||||
this.viewer.currentScaleValue = this.viewer.currentScaleValue;
|
this.viewer._setScale(this.viewer.currentScaleValue, true);
|
||||||
}
|
}
|
||||||
if (!dest) {
|
if (!dest) {
|
||||||
scrollIntoView(div);
|
scrollIntoView(div);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user