mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
BugFix: Missing var (context) in function call getOutputScale of text-selection example
This commit is contained in:
parent
19485c34c8
commit
041671f81b
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ window.onload = function () {
|
|||
});
|
||||
|
||||
//The following few lines of code set up scaling on the context if we are on a HiDPI display
|
||||
var outputScale = getOutputScale();
|
||||
var outputScale = getOutputScale(context);
|
||||
if (outputScale.scaled) {
|
||||
var cssScale = 'scale(' + (1 / outputScale.sx) + ', ' +
|
||||
(1 / outputScale.sy) + ')';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue