tweak initial x-axis location of a recording rect (from grygorii zharun @ waves)
This commit is contained in:
parent
a780e70f2a
commit
177c0e0940
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user