13
0

bbt ruler: no more micro/minor mark distinction. all bars are equal between labels

This commit is contained in:
Paul Davis 2022-10-31 16:59:32 -06:00
parent 62540fb5af
commit 6d1e4207de

View File

@ -1334,11 +1334,7 @@ Editor::metric_get_bbt (std::vector<ArdourCanvas::Ruler::Mark>& marks, int64_t l
mark.style = ArdourCanvas::Ruler::Mark::Major; mark.style = ArdourCanvas::Ruler::Mark::Major;
} else { } else {
buf[0] = '\0'; buf[0] = '\0';
if (bbt.bars % 16 == 9) {
mark.style = ArdourCanvas::Ruler::Mark::Minor; mark.style = ArdourCanvas::Ruler::Mark::Minor;
} else {
mark.style = ArdourCanvas::Ruler::Mark::Micro;
}
} }
mark.label = buf; mark.label = buf;
mark.position = (*i).sample (sr); mark.position = (*i).sample (sr);