remove NUTEMPO #warning (comment explains more)

This commit is contained in:
Paul Davis 2021-01-19 14:07:39 -07:00
parent 9c1e88e675
commit 874a009d76

View File

@ -920,7 +920,10 @@ RouteTimeAxisView::show_timestretch (timepos_t const & start, timepos_t const &
timestretch_rect->show (); timestretch_rect->show ();
timestretch_rect->raise_to_top (); timestretch_rect->raise_to_top ();
#warning NUTEMPO is it ok to just fudge this being in samples? /* we use samples here since that is the canonical GUI<=>timeline
* mapping (samples/pixels). This is just a dragging rect, it doesn't
* by itself determine the parameters for the stretch.
*/
double const x1 = start.samples() / _editor.get_current_zoom(); double const x1 = start.samples() / _editor.get_current_zoom();
double const x2 = (end.samples() - 1) / _editor.get_current_zoom(); double const x2 = (end.samples() - 1) / _editor.get_current_zoom();