13
0

set mixer strip fader name always, so that bg is set from style

This commit is contained in:
Paul Davis 2022-08-11 00:07:53 -06:00
parent 27f4302a7d
commit 04ad500998

View File

@ -1431,8 +1431,8 @@ MixerStrip::reset_strip_style ()
gpm.set_fader_fg (gdk_color_to_rgba (route_color_tint())); gpm.set_fader_fg (gdk_color_to_rgba (route_color_tint()));
} else { } else {
gpm.unset_fader_fg (); gpm.unset_fader_fg ();
gpm.set_fader_name ("MidiTrackFader");
} }
gpm.set_fader_name ("MidiTrackFader");
} else if (is_audio_track()) { } else if (is_audio_track()) {
if (_route->active()) { if (_route->active()) {
set_name ("AudioTrackStripBase"); set_name ("AudioTrackStripBase");
@ -1444,8 +1444,8 @@ MixerStrip::reset_strip_style ()
gpm.set_fader_fg (gdk_color_to_rgba (route_color_tint())); gpm.set_fader_fg (gdk_color_to_rgba (route_color_tint()));
} else { } else {
gpm.unset_fader_fg (); gpm.unset_fader_fg ();
gpm.set_fader_name ("AudioTrackFader");
} }
gpm.set_fader_name ("AudioTrackFader");
} else { } else {
if (_route->active()) { if (_route->active()) {
set_name ("AudioBusStripBase"); set_name ("AudioBusStripBase");
@ -1458,8 +1458,8 @@ MixerStrip::reset_strip_style ()
gpm.set_fader_fg (gdk_color_to_rgba (route_color_tint())); gpm.set_fader_fg (gdk_color_to_rgba (route_color_tint()));
} else { } else {
gpm.unset_fader_fg (); gpm.unset_fader_fg ();
gpm.set_fader_name ("AudioBusFader");
} }
gpm.set_fader_name ("AudioBusFader");
} }
} }
} }