mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Fix insertion of blank pages during printing due to non-matching page sizes
This commit is contained in:
parent
21ed8ff71d
commit
aeabd0db20
3 changed files with 6 additions and 6 deletions
|
@ -541,8 +541,6 @@ var PDFPageView = (function PDFPageViewClosure() {
|
|||
|
||||
var printContainer = document.getElementById('printContainer');
|
||||
var canvasWrapper = document.createElement('div');
|
||||
canvasWrapper.style.width = viewport.width + 'pt';
|
||||
canvasWrapper.style.height = viewport.height + 'pt';
|
||||
canvasWrapper.appendChild(canvas);
|
||||
printContainer.appendChild(canvasWrapper);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue