Fix issues with /FitR destinations
This commit is contained in:
parent
1fc11027ec
commit
7542d50167
2 changed files with 2 additions and 2 deletions
|
@ -371,7 +371,7 @@ var PageView = function pageView(container, id, scale,
|
|||
width / CSS_UNITS;
|
||||
heightScale = (PDFView.container.clientHeight - SCROLLBAR_PADDING) /
|
||||
height / CSS_UNITS;
|
||||
scale = Math.min(widthScale, heightScale);
|
||||
scale = Math.min(Math.abs(widthScale), Math.abs(heightScale));
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue