fix: allow box selection of points when inside editor (#5594)

This commit is contained in:
Aakansha Doshi 2022-08-18 19:07:14 +05:30 committed by GitHub
parent 8f8dd1105f
commit b5fd904808
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 4 deletions

View file

@ -3060,7 +3060,7 @@ class App extends React.Component<AppProps, AppState> {
setCursor(this.canvas, CURSOR_TYPE.MOVE);
}
} else if (
shouldShowBoundingBox([element]) &&
shouldShowBoundingBox([element], this.state) &&
isHittingElementBoundingBoxWithoutHittingElement(
element,
this.state,