This commit is contained in:
Clarence Chan 2025-04-22 03:49:40 +00:00 committed by GitHub
commit 3e6e7303b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7230,8 +7230,9 @@ class App extends React.Component<AppProps, AppState> {
// With shift-selection, we want to make sure that frames and their containing
// elements are not selected at the same time.
if (
!someHitElementIsSelected &&
!pointerDownState.hit.hasHitCommonBoundingBoxOfSelectedElements
event.shiftKey ||
(!someHitElementIsSelected &&
!pointerDownState.hit.hasHitCommonBoundingBoxOfSelectedElements)
) {
this.setState((prevState) => {
let nextSelectedElementIds: { [id: string]: true } = {