mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 11:46:25 +01:00
holding Primary(ctrl/cmd) allows user to make noncontiguous strip selections
This commit is contained in:
parent
b29e324ee4
commit
870206cf92
1 changed files with 3 additions and 1 deletions
|
|
@ -638,7 +638,9 @@ Mixer_UI::strip_by_route (boost::shared_ptr<Route> r)
|
||||||
bool
|
bool
|
||||||
Mixer_UI::strip_enter_event (GdkEventCrossing *ev, MixerStrip *strip)
|
Mixer_UI::strip_enter_event (GdkEventCrossing *ev, MixerStrip *strip)
|
||||||
{
|
{
|
||||||
if (Keyboard::modifier_state_equals (ev->state, Keyboard::TertiaryModifier)) {
|
if (Keyboard::modifier_state_equals (ev->state, Keyboard::PrimaryModifier)) {
|
||||||
|
; //don't change the current selection, user is doing it manually
|
||||||
|
} else if (Keyboard::modifier_state_equals (ev->state, Keyboard::TertiaryModifier)) {
|
||||||
_selection.add (strip);
|
_selection.add (strip);
|
||||||
} else
|
} else
|
||||||
_selection.set (strip);
|
_selection.set (strip);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue