From 041671f81b5a90cfff4df12851764757b6d288f4 Mon Sep 17 00:00:00 2001 From: Sebastian Kruse Date: Wed, 30 Oct 2013 11:43:22 +0100 Subject: [PATCH] BugFix: Missing var (context) in function call getOutputScale of text-selection example --- examples/text-selection/js/minimal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/text-selection/js/minimal.js b/examples/text-selection/js/minimal.js index 8ffa5f7e7..80a34cc4e 100644 --- a/examples/text-selection/js/minimal.js +++ b/examples/text-selection/js/minimal.js @@ -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) + ')';