mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Use abstract group_override_modifier instead of hardcoded modifiers
This commit is contained in:
parent
8a5fc65df4
commit
9ae9282547
1 changed files with 1 additions and 4 deletions
|
|
@ -583,10 +583,7 @@ GainMeterBase::fader_moved ()
|
|||
value = gain_adjustment.get_value();
|
||||
}
|
||||
|
||||
// XXX hack allow to override group
|
||||
// (this breaks group'ed shift+click reset)
|
||||
if (Keyboard::the_keyboard().key_is_down (GDK_Shift_R)
|
||||
|| Keyboard::the_keyboard().key_is_down (GDK_Shift_L)) {
|
||||
if (Keyboard::the_keyboard().modifier_state() == Keyboard::group_override_modifier ()) {
|
||||
_control->set_value (value, Controllable::InverseGroup);
|
||||
} else {
|
||||
_control->set_value (value, Controllable::UseGroup);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue