13
0

allow mixer strip button events to fall through to parent, part 2

This commit is contained in:
Paul Davis 2024-05-07 16:12:56 -06:00
parent bdec28d85a
commit 201261857c

View File

@ -1262,9 +1262,15 @@ MixerStrip::build_route_ops_menu ()
gboolean
MixerStrip::name_button_button_press (GdkEventButton* ev)
{
if (ARDOUR::Profile->get_livetrax() && _route && _route->is_singleton ()) {
if (ev->button == 1) {
/* fall thru to mixer */
return false;
}
if (ev->button == 3 && ARDOUR::Profile->get_livetrax() && _route && _route->is_singleton ()) {
return true;
}
if (ev->button == 1 || ev->button == 3) {
list_route_operations ();