mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
no more BBT_Time round/round_up methods (GUI edition)
This commit is contained in:
parent
f0111bcea5
commit
66dde32a1b
3 changed files with 5 additions and 11 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue