mirror of
https://github.com/xibyte/jsketcher
synced 2026-02-15 20:03:06 +01:00
make arc pickable
This commit is contained in:
parent
f33847197b
commit
5c144c0aff
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ TCAD.TWO.Arc.prototype.visit = function(h) {
|
|||
};
|
||||
|
||||
TCAD.TWO.Arc.prototype.normalDistance = function(aim) {
|
||||
return -1000;
|
||||
return Math.abs(TCAD.math.distance(aim.x, aim.y, this.c.x, this.c.y) - this.radiusForDrawing());
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue