mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 18:25:37 +02:00
Merge pull request #5360 from Snuffleupagus/pr-5359-followup
Followup fix for entering/exiting Presentation mode
This commit is contained in:
commit
f5d416cfdf
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue