mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
remove modifier for use-selection on gain controls
The condition is now: use selection if route is not in a group that shares gain
This commit is contained in:
parent
6ba69cfd57
commit
e60c1840cb
1 changed files with 3 additions and 1 deletions
|
|
@ -755,7 +755,9 @@ GainMeterBase::meter_point_clicked (MeterPoint mp)
|
|||
void
|
||||
GainMeterBase::amp_start_touch (int state)
|
||||
{
|
||||
if (state & Keyboard::UseSelectionModifier) {
|
||||
assert (_route);
|
||||
|
||||
if (!_route->route_group() || !_route->route_group()->is_gain()) {
|
||||
_touch_control_group.reset (new GainControlGroup ());
|
||||
_touch_control_group->set_mode (ControlGroup::Relative);
|
||||
_touch_control_group->fill_from_selection (_control->session().selection(), _control->parameter());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue