Fix zoom parameter regression
This commit is contained in:
parent
aeab4a139f
commit
1cae737d03
@ -347,7 +347,7 @@ var PageView = function pageView(container, id, scale,
|
|||||||
// since aligning the bottom of the intended page with the
|
// since aligning the bottom of the intended page with the
|
||||||
// top of the window is rarely helpful).
|
// top of the window is rarely helpful).
|
||||||
x = x !== null ? x : 0;
|
x = x !== null ? x : 0;
|
||||||
y = y !== null ? y : this.height / this.scale;
|
y = y !== null ? y : (this.height / this.scale) / CSS_UNITS;
|
||||||
break;
|
break;
|
||||||
case 'Fit':
|
case 'Fit':
|
||||||
case 'FitB':
|
case 'FitB':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user