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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user