mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Use white backdrop when possible.
This commit is contained in:
parent
04f6e17e11
commit
ec311f303b
5 changed files with 32 additions and 12 deletions
|
@ -2142,7 +2142,6 @@ var PageView = function pageView(container, pdfPage, 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