This commit is contained in:
1 parent
0c5c1040cd
commit
77f63a6f80
1 file changed
+2
-1
@@ -739,7 +739,8 @@ export function CanvasArea({ store: providedStore }: CanvasAreaProps) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const isAlreadySelected = selectedSet.has(ref);
|
const isAlreadySelected = selectedSet.has(ref);
|
||||||
const dragCandidates = isAlreadySelected && selectedRefs.length > 1 ? selectedRefs : [ref];
|
const explicitGroupDrag = event.altKey;
|
||||||
|
const dragCandidates = isAlreadySelected && selectedRefs.length > 1 && explicitGroupDrag ? selectedRefs : [ref];
|
||||||
|
|
||||||
if (!isAlreadySelected || selectedRefs.length !== dragCandidates.length) {
|
if (!isAlreadySelected || selectedRefs.length !== dragCandidates.length) {
|
||||||
store.actions.setSelection({
|
store.actions.setSelection({
|
||||||
|
|||||||
Reference in new issue
Block a user