From f96a0d0ddf4d44bbbbba3dea68bb03138b7eb436 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 11 Mar 2023 20:24:41 -0700 Subject: [PATCH] editor: adding handling of mid-mapping tempo redisplay --- gtk2_ardour/editor_tempodisplay.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index 124307d902..c71d65914a 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -850,8 +850,10 @@ Editor::mid_tempo_change (MidTempoChanges what_changed) update_tempo_based_rulers (); maybe_draw_grid_lines (); - if (!(what_changed & BBTChanged)) { - /* Nothing changes in tracks when it is a BBT change */ + if (!(what_changed & (MappingChanged|BBTChanged))) { + /* Nothing changes in tracks when it is a tempo mapping + * operation or a BBT change + */ foreach_time_axis_view (sigc::mem_fun (*this, &Editor::mid_tempo_per_track_update)); } }