[DE] Fix Bug 37170
This commit is contained in:
parent
f3aa2b4b32
commit
eace54100d
|
@ -568,6 +568,8 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onApiPageSize: function(w, h) {
|
onApiPageSize: function(w, h) {
|
||||||
|
if (this._state.pgorient===undefined) return;
|
||||||
|
|
||||||
var width = this._state.pgorient ? w : h,
|
var width = this._state.pgorient ? w : h,
|
||||||
height = this._state.pgorient ? h : w;
|
height = this._state.pgorient ? h : w;
|
||||||
if (Math.abs(this._state.pgsize[0] - w) > 0.01 ||
|
if (Math.abs(this._state.pgsize[0] - w) > 0.01 ||
|
||||||
|
|
Loading…
Reference in a new issue