mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Add back mozOpaque.
This commit is contained in:
parent
ec311f303b
commit
bd7eba0d46
1 changed files with 1 additions and 0 deletions
|
@ -426,6 +426,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||
if (transparency) {
|
||||
this.ctx.clearRect(0, 0, width, height);
|
||||
} else {
|
||||
this.ctx.mozOpaque = true;
|
||||
this.ctx.save();
|
||||
this.ctx.fillStyle = 'rgb(255, 255, 255)';
|
||||
this.ctx.fillRect(0, 0, width, height);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue