13
0

Allow single-click on TempoMap Ruler markers

This fixes the abort, when clicking on a Tempo, Meter or BBT
Marker using the grid tool.
This commit is contained in:
Robin Gareus 2023-10-07 15:54:23 +02:00
parent b87937a20e
commit 5426bbfd57
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1919,9 +1919,12 @@ Editor::button_release_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemT
break;
case MouseGrid:
/* MouseGrid clicks are handled by _canvas_grid_zone */
fatal << _("programming error: MouseGrid clicks are handled by _canvas_grid_zone!") << endmsg;
abort(); /*NOTREACHED*/
cout << "MouseGrid item:" << item << " type: " << item_type << " event: " << event << "\n";
/* MouseGrid clicks are handled by _canvas_grid_zone ,
* We can still get here by single-click on a Tempo, Meter or BBT Marker in the ruler.
*/
return true;
break;
default: