dbl click on mixer strip name label/color button brings up color picker

This commit is contained in:
Paul Davis 2022-11-01 08:11:45 -06:00
parent 6832ad2af9
commit c9fe383813
1 changed files with 6 additions and 1 deletions

View File

@ -1202,7 +1202,12 @@ MixerStrip::name_button_button_press (GdkEventButton* ev)
gboolean
MixerStrip::number_button_button_press (GdkEventButton* ev)
{
if ( ev->button == 3 ) {
if (ev->type == GDK_2BUTTON_PRESS) {
choose_color ();
return true;
}
if (ev->button == 3) {
list_route_operations ();
route_ops_menu->popup (1, ev->time);