Skip to content

Commit 17e60c0

Browse files
committed
Restrict points to within the smith chart area
1 parent be8a250 commit 17e60c0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/plots/smith/smith.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1365,8 +1365,7 @@ proto.updateAngularDrag = function(fullLayout) {
13651365
};
13661366

13671367
proto.isPtInside = function(d) {
1368-
// return d.re >= 0;
1369-
return true;
1368+
return d.re >= 0;
13701369
};
13711370

13721371
proto.pathArc = function(r) {

0 commit comments

Comments
 (0)