|
|
|
@ -3492,7 +3492,7 @@ var PDFViewer = (function pdfViewer() {
@@ -3492,7 +3492,7 @@ var PDFViewer = (function pdfViewer() {
|
|
|
|
|
set currentScaleValue(val) { |
|
|
|
|
if (!this.pdfDocument) { |
|
|
|
|
this._currentScale = isNaN(val) ? UNKNOWN_SCALE : val; |
|
|
|
|
this._currentScaleValue = val; |
|
|
|
|
this._currentScaleValue = val.toString(); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
this._setScale(val, false); |
|
|
|
@ -3679,7 +3679,7 @@ var PDFViewer = (function pdfViewer() {
@@ -3679,7 +3679,7 @@ var PDFViewer = (function pdfViewer() {
|
|
|
|
|
|
|
|
|
|
_setScaleUpdatePages: function pdfViewer_setScaleUpdatePages( |
|
|
|
|
newScale, newValue, noScroll, preset) { |
|
|
|
|
this._currentScaleValue = newValue; |
|
|
|
|
this._currentScaleValue = newValue.toString(); |
|
|
|
|
|
|
|
|
|
if (isSameScale(this._currentScale, newScale)) { |
|
|
|
|
if (preset) { |
|
|
|
|