mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Merge 8e76ba8237
into debf2ad608
This commit is contained in:
commit
3e6e7303b2
1 changed files with 3 additions and 2 deletions
|
@ -7230,8 +7230,9 @@ class App extends React.Component<AppProps, AppState> {
|
||||||
// With shift-selection, we want to make sure that frames and their containing
|
// With shift-selection, we want to make sure that frames and their containing
|
||||||
// elements are not selected at the same time.
|
// elements are not selected at the same time.
|
||||||
if (
|
if (
|
||||||
!someHitElementIsSelected &&
|
event.shiftKey ||
|
||||||
!pointerDownState.hit.hasHitCommonBoundingBoxOfSelectedElements
|
(!someHitElementIsSelected &&
|
||||||
|
!pointerDownState.hit.hasHitCommonBoundingBoxOfSelectedElements)
|
||||||
) {
|
) {
|
||||||
this.setState((prevState) => {
|
this.setState((prevState) => {
|
||||||
let nextSelectedElementIds: { [id: string]: true } = {
|
let nextSelectedElementIds: { [id: string]: true } = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue