Merge pull request #3859 from skruse/master

BugFix: Missing var (context) in function call getOutputScale of text-selection example
This commit is contained in:
Jonas Jenwald 2013-10-30 05:12:34 -07:00
commit aeab4a139f

View File

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