Tracker: Don't extend selection on context-click, fixes #20089.

* Context-click on pose pops menu even if Shift/Command held down.
* Primary-click + Shift/Command on pose extends selection.
* Primary-click + Control on pose same as context-click, pop menu
  as Tracker emulates context-click with Control+click.

Regression from hrev58610.

Change-Id: I81477030be1320d26a30811335ec4b2ab755f679
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10974
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: John Scipione <[email protected]>
This commit is contained in:
John Scipione
2026-05-13 14:14:55 +00:00
parent f1e9c36fcb
commit 7190450606
+1 -1
View File
@@ -945,7 +945,7 @@ BPoseView::ExtendSelection() const
return false;
uint32 mods = modifiers();
return (mods & B_COMMAND_KEY) != 0 || (mods & B_SHIFT_KEY) != 0;
return fTrackMouseUp && ((mods & B_COMMAND_KEY) != 0 || (mods & B_SHIFT_KEY) != 0);
}