Plan: Shift-Klick in der Uebereinander-Liste waehlt Objekte zur Auswahl dazu/ab
This commit is contained in:
1 parent
c3f09d6a3a
commit
287fe0274d
1 file changed
+3
-2
@@ -3839,10 +3839,11 @@ export const PlanView = forwardRef<PlanViewHandle, PlanViewProps>(
|
||||
onMouseLeave={() => setHoverPick(null)}
|
||||
onFocus={() => setHoverPick(c)}
|
||||
onBlur={() => setHoverPick(null)}
|
||||
onClick={() => {
|
||||
onClick={(ev) => {
|
||||
const cur = cycleRef.current;
|
||||
if (cur) cur.idx = i;
|
||||
applyCandidate(c, cur?.model ?? { x: 0, y: 0 }, false);
|
||||
// Shift: Eintrag zur bestehenden Auswahl dazu-/abwählen (Liste bleibt offen).
|
||||
applyCandidate(c, cur?.model ?? { x: 0, y: 0 }, ev.shiftKey);
|
||||
setPickList({ ...pickList, idx: i });
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user