diff --git a/src/plugins/pdfPlayer/plugin.js b/src/plugins/pdfPlayer/plugin.js index 1aaddabe6d..6322d42778 100644 --- a/src/plugins/pdfPlayer/plugin.js +++ b/src/plugins/pdfPlayer/plugin.js @@ -280,19 +280,18 @@ export class PdfPlayer { this.book.getPage(number).then(page => { const width = dom.getWindowSize().innerWidth; const height = dom.getWindowSize().innerHeight; - const viewport = page.getViewport({ scale: 5 }); const context = canvas.getContext('2d'); canvas.width = viewport.width; canvas.height = viewport.height; - if (width