Skip to content

Commit

Permalink
Reset scale when update spread mode
Browse files Browse the repository at this point in the history
  • Loading branch information
calixteman committed Dec 6, 2020
1 parent f063cee commit 366922e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/base_viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1481,6 +1481,7 @@ class BaseViewer {
}
this._setCurrentPageNumber(pageNumber, /* resetCurrentPageView = */ true);
this.update();
this._setScale(this._currentScaleValue, true);
}
}

Expand Down

0 comments on commit 366922e

Please sign in to comment.