clean up mapping bar context menu, extend with clear tempos

This commit is contained in:
Paul Davis 2023-06-30 15:50:47 -06:00
parent 20e1b6b287
commit d688af76c0
3 changed files with 60 additions and 8 deletions

View file

@ -2543,6 +2543,12 @@ private:
return thing_with_time_domain ? thing_with_time_domain->time_domain() : Temporal::AudioTime;
}
void clear_tempo_markers_before (Temporal::timepos_t where, bool stop_at_music_times);
void clear_tempo_markers_after (Temporal::timepos_t where, bool stop_at_music_times);
void clear_tempo_markers () {
clear_tempo_markers_after (Temporal::timepos_t (0), false);
}
friend class Drag;
friend class RegionCutDrag;
friend class RegionDrag;