mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #3860 from Snuffleupagus/fix-zoom-parameter-regression
Fix zoom parameter regression
This commit is contained in:
commit
cbf9d73ade
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ var PageView = function pageView(container, id, scale,
|
|||
// since aligning the bottom of the intended page with the
|
||||
// top of the window is rarely helpful).
|
||||
x = x !== null ? x : 0;
|
||||
y = y !== null ? y : this.height / this.scale;
|
||||
y = y !== null ? y : (this.height / this.scale) / CSS_UNITS;
|
||||
break;
|
||||
case 'Fit':
|
||||
case 'FitB':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue