mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-09 09:52:34 +01:00
pass viewer for drawing
This commit is contained in:
parent
004a762864
commit
88f476353e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue