Skip to content

Commit 41a5c28

Browse files
committed
Restrict points to within the smith chart area
1 parent 309f8f8 commit 41a5c28

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/plots/smith/smith.js

Lines changed: 1 addition & 2 deletions
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)