13
0

tweak initial x-axis location of a recording rect (from grygorii zharun @ waves)

This commit is contained in:
Paul Davis 2014-09-07 11:34:24 -04:00
parent a780e70f2a
commit 177c0e0940

View File

@ -295,7 +295,12 @@ AudioStreamView::setup_rec_box ()
RecBoxInfo recbox;
recbox.rectangle = rec_rect;
recbox.start = _trackview.session()->transport_frame();
if (rec_rects.empty()) {
recbox.start = _trackview.session()->record_location ();
} else {
recbox.start = _trackview.session()->transport_frame ();
}
recbox.length = 0;
rec_rects.push_back (recbox);