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:
commit
74b0a51cee
5 changed files with 33 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue