mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-29 08:23:01 +01:00
Tempo ramps - ensure displayed grid extends beyond the leftmost frame.
This commit is contained in:
parent
2d3d7a5355
commit
cfbc42cd3a
1 changed files with 1 additions and 1 deletions
|
|
@ -258,7 +258,7 @@ Editor::compute_current_bbt_points (std::vector<TempoMap::BBTPoint>& grid, frame
|
|||
|
||||
/* prevent negative values of leftmost from creeping into tempomap
|
||||
*/
|
||||
const double lower_beat = floor (_session->tempo_map().beat_at_frame (leftmost));
|
||||
const double lower_beat = floor (_session->tempo_map().beat_at_frame (leftmost)) - 1.0;
|
||||
_session->tempo_map().get_grid (grid, max (_session->tempo_map().frame_at_beat (lower_beat), (framepos_t) 0), rightmost);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue