mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +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;
|
||||
// Fixes the case when PDF has different page sizes.
|
||||
this.viewer.currentScaleValue = this.viewer.currentScaleValue;
|
||||
this.viewer._setScale(this.viewer.currentScaleValue, true);
|
||||
}
|
||||
if (!dest) {
|
||||
scrollIntoView(div);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue