13
0

editor: expand handling of tempo-redisplay in middle of drag

This commit is contained in:
Paul Davis 2023-03-11 20:23:20 -07:00
parent ece438d73d
commit aa3cbd8791
2 changed files with 3 additions and 2 deletions

View File

@ -1755,7 +1755,8 @@ private:
enum MidTempoChanges {
TempoChanged = 0x1,
MeterChanged = 0x2,
BBTChanged = 0x4
BBTChanged = 0x4,
MappingChanged = 0x8
};
void mid_tempo_change (MidTempoChanges);

View File

@ -821,7 +821,7 @@ Editor::mid_tempo_change (MidTempoChanges what_changed)
// TempoMap::SharedPtr map (TempoMap::use());
// map->dump (std::cerr);
if ((what_changed & MidTempoChanges(BBTChanged|TempoChanged))) {
if ((what_changed & MidTempoChanges(BBTChanged|TempoChanged|MappingChanged))) {
double min_tempo = DBL_MAX;
double max_tempo = 0.0;