From 7662f9af5bcef99e34d80c27a17d268399990ff8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 27 Jul 2023 13:28:02 -0600 Subject: [PATCH] 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 --- libs/widgets/ardour_ctrl_base.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/widgets/ardour_ctrl_base.cc b/libs/widgets/ardour_ctrl_base.cc index 581df36c48..4a2d1dcde9 100644 --- a/libs/widgets/ardour_ctrl_base.cc +++ b/libs/widgets/ardour_ctrl_base.cc @@ -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; }