projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d3d7a5
)
Tempo ramps - ensure displayed grid extends beyond the leftmost frame.
author
nick_m
<mainsbridge@gmail.com>
Wed, 18 May 2016 15:26:02 +0000
(
01:26
+1000)
committer
nick_m
<mainsbridge@gmail.com>
Fri, 27 May 2016 13:38:16 +0000
(23:38 +1000)
gtk2_ardour/editor_tempodisplay.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_tempodisplay.cc
b/gtk2_ardour/editor_tempodisplay.cc
index 3ccaf7841599d825ffc5ddb6b8ae86f9448b841e..3058323c5acdf19d801a217d92c6f0ea473a7b1a 100644
(file)
--- a/
gtk2_ardour/editor_tempodisplay.cc
+++ b/
gtk2_ardour/editor_tempodisplay.cc
@@
-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);
}