diff --git a/src/components/App.tsx b/src/components/App.tsx index d806e58e..4314c3d3 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -3492,7 +3492,6 @@ class App extends React.Component { origin, selectedElements, ), - hasHitElementInside: false, }, drag: { hasOccurred: false, @@ -3670,12 +3669,6 @@ class App extends React.Component { if (hitLinkElement) { return false; } - pointerDownState.hit.hasHitElementInside = - isHittingElementNotConsideringBoundingBox( - pointerDownState.hit.element, - this.state, - [pointerDownState.origin.x, pointerDownState.origin.y], - ); } // For overlapped elements one position may hit diff --git a/src/types.ts b/src/types.ts index c5929e52..db6647f1 100644 --- a/src/types.ts +++ b/src/types.ts @@ -422,7 +422,6 @@ export type PointerDownState = Readonly<{ // pointer interaction hasBeenDuplicated: boolean; hasHitCommonBoundingBoxOfSelectedElements: boolean; - hasHitElementInside: boolean; }; withCmdOrCtrl: boolean; drag: {