1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-24 09:08:07 +02:00

Merge pull request #14894 from Snuffleupagus/rm-mozOpaque

Try to remove the `mozOpaque` canvas-property (PR 6551 follow-up)
This commit is contained in:
Tim van der Meij 2022-05-12 22:03:05 +02:00 committed by GitHub
commit fbc7981c98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 34 deletions

View file

@ -607,7 +607,6 @@ class Driver {
this._log(
" Loading page " + task.pageNum + "/" + task.pdfDoc.numPages + "... "
);
this.canvas.mozOpaque = true;
ctx = this.canvas.getContext("2d", { alpha: false });
task.pdfDoc.getPage(task.pageNum).then(
page => {