Skip to content

Commit

Permalink
fix(core): isElementInArea fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xinxin93 committed Aug 24, 2021
1 parent 2050510 commit 9e8bd62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/model/GraphModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ class GraphModel {
[x, y] = this.transformMatrix.CanvasPointToHtmlPoint([x, y]);
if (!isPointInArea([x, y], lt, rb)) {
inArea = false;
break;
}
}
return inArea;
Expand Down

0 comments on commit 9e8bd62

Please sign in to comment.