From 88f476353e473baca657054dba3a51d19d71bab9 Mon Sep 17 00:00:00 2001 From: Val Erastov Date: Mon, 5 Jan 2015 22:54:24 -0800 Subject: [PATCH] pass viewer for drawing --- web/app/sketch/dim.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/sketch/dim.js b/web/app/sketch/dim.js index ba65708f..06a8f536 100644 --- a/web/app/sketch/dim.js +++ b/web/app/sketch/dim.js @@ -21,7 +21,7 @@ TCAD.TWO.LinearDimension.prototype.translateImpl = function(dx, dy) { TCAD.TWO.LinearDimension.prototype.getA = function() { return this.a }; TCAD.TWO.LinearDimension.prototype.getB = function() { return this.b }; -TCAD.TWO.LinearDimension.prototype.drawImpl = function(ctx, scale) { +TCAD.TWO.LinearDimension.prototype.drawImpl = function(ctx, scale, viewer) { var off = 30; var textOff = 3;