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;
|
RecBoxInfo recbox;
|
||||||
recbox.rectangle = rec_rect;
|
recbox.rectangle = rec_rect;
|
||||||
|
|
||||||
|
if (rec_rects.empty()) {
|
||||||
|
recbox.start = _trackview.session()->record_location ();
|
||||||
|
} else {
|
||||||
recbox.start = _trackview.session()->transport_frame ();
|
recbox.start = _trackview.session()->transport_frame ();
|
||||||
|
}
|
||||||
recbox.length = 0;
|
recbox.length = 0;
|
||||||
|
|
||||||
rec_rects.push_back (recbox);
|
rec_rects.push_back (recbox);
|
||||||
|
Loading…
Reference in New Issue
Block a user