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

@ -424,7 +424,10 @@ export const _renderScene = ({
!appState.editingLinearElement
) {
const locallySelectedElements = getSelectedElements(elements, appState);
const showBoundingBox = shouldShowBoundingBox(locallySelectedElements);
const showBoundingBox = shouldShowBoundingBox(
locallySelectedElements,
appState,
);
const locallySelectedIds = locallySelectedElements.map(
(element) => element.id,