1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Merge pull request #3009 from brendandahl/backdrop

Use white backdrop when possible.
This commit is contained in:
Yury Delendik 2013-04-01 08:15:30 -07:00
commit 74b0a51cee
5 changed files with 33 additions and 13 deletions

View file

@ -2228,7 +2228,6 @@ var PageView = function pageView(container, id, scale,
}
var ctx = canvas.getContext('2d');
ctx.clearRect(0, 0, canvas.width, canvas.height);
// TODO(mack): use data attributes to store these
ctx._scaleX = outputScale.sx;
ctx._scaleY = outputScale.sy;