13
0

L: Hide "+" (add tracks) in mixer

This commit is contained in:
Robin Gareus 2024-07-24 20:26:36 +02:00
parent 1dcdaf01fe
commit c44f59c408
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -186,9 +186,11 @@ Mixer_UI::Mixer_UI ()
/* add as last item of strip packer */ /* add as last item of strip packer */
strip_packer.pack_end (scroller_base, true, true); strip_packer.pack_end (scroller_base, true, true);
if (!Profile->get_livetrax()) {
scroller_base.set_size_request (PX_SCALE (20), -1); scroller_base.set_size_request (PX_SCALE (20), -1);
scroller_base.signal_expose_event ().connect (sigc::bind (sigc::ptr_fun (&ArdourWidgets::ArdourIcon::expose_with_text), &scroller_base, ArdourWidgets::ArdourIcon::ShadedPlusSign, scroller_base.signal_expose_event ().connect (sigc::bind (sigc::ptr_fun (&ArdourWidgets::ArdourIcon::expose_with_text), &scroller_base, ArdourWidgets::ArdourIcon::ShadedPlusSign,
_("Right-click or Double-click here\nto add Track, Bus, or VCA channels"))); _("Right-click or Double-click here\nto add Track, Bus, or VCA channels")));
}
#ifdef MIXBUS #ifdef MIXBUS
/* create a drop-shadow at the end of the mixer strips */ /* create a drop-shadow at the end of the mixer strips */