|
|
|
@ -283,9 +283,11 @@ var PDFView = {
@@ -283,9 +283,11 @@ var PDFView = {
|
|
|
|
|
if (!currentPage) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
var pageWidthScale = (this.container.clientWidth - SCROLLBAR_PADDING) / |
|
|
|
|
var hPadding = PresentationMode.active ? 0 : SCROLLBAR_PADDING; |
|
|
|
|
var vPadding = PresentationMode.active ? 0 : VERTICAL_PADDING; |
|
|
|
|
var pageWidthScale = (this.container.clientWidth - hPadding) / |
|
|
|
|
currentPage.width * currentPage.scale; |
|
|
|
|
var pageHeightScale = (this.container.clientHeight - VERTICAL_PADDING) / |
|
|
|
|
var pageHeightScale = (this.container.clientHeight - vPadding) / |
|
|
|
|
currentPage.height * currentPage.scale; |
|
|
|
|
switch (value) { |
|
|
|
|
case 'page-actual': |
|
|
|
|