mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
ArdourCtrlBase should pass UseGroup when setting control values
None of the things this is used for right now are ever members of persistent control groups, but it is useful for selection-as-group
This commit is contained in:
parent
8f70356b81
commit
7662f9af5b
1 changed files with 3 additions and 3 deletions
|
|
@ -179,14 +179,14 @@ ArdourCtrlBase::on_motion_notify_event (GdkEventMotion *ev)
|
|||
delta = tozero + remain;
|
||||
_dead_zone_delta = 0;
|
||||
} else {
|
||||
c->set_value (c->normal(), Controllable::NoGroup);
|
||||
c->set_value (c->normal(), Controllable::UseGroup);
|
||||
_dead_zone_delta = remain / px_deadzone;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if (fabsf (rintf((val - _normal) / scale) + _dead_zone_delta) < 1) {
|
||||
c->set_value (c->normal(), Controllable::NoGroup);
|
||||
c->set_value (c->normal(), Controllable::UseGroup);
|
||||
_dead_zone_delta += delta / px_deadzone;
|
||||
return true;
|
||||
}
|
||||
|
|
@ -195,7 +195,7 @@ ArdourCtrlBase::on_motion_notify_event (GdkEventMotion *ev)
|
|||
}
|
||||
|
||||
val += delta * scale;
|
||||
c->set_interface (val, true);
|
||||
c->set_interface (val, true, Controllable::UseGroup);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue