1
0
Fork 0
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:
Brendan Dahl 2013-03-29 14:25:10 -07:00
parent ec311f303b
commit bd7eba0d46

View file

@ -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);