pass viewer for drawing

This commit is contained in:
Val Erastov 2015-01-05 22:54:24 -08:00
parent 004a762864
commit 88f476353e

View file

@ -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;