no more BBT_Time round/round_up methods (GUI edition)

This commit is contained in:
Paul Davis 2025-08-19 07:59:23 -06:00
parent f0111bcea5
commit 66dde32a1b
3 changed files with 5 additions and 11 deletions

View file

@ -428,7 +428,7 @@ StepEditor::step_edit_bar_sync ()
/* have to go to BBT to round up to bar, unfortunately */
TempoMap::SharedPtr tmap (TempoMap::use());
BBT_Argument bbt (tmap->bbt_at (pos).round_up_to_bar ());
BBT_Argument bbt (tmap->meter_at (pos).round_up_to_bar (tmap->bbt_at (pos)));
/* now back to beats */
pos = timepos_t (tmap->quarters_at (bbt));