mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
use ArdourCanvas::TimeRectangle for regions, notes, markers
This commit is contained in:
parent
56994e785e
commit
f1e6b28ab7
9 changed files with 21 additions and 20 deletions
|
|
@ -262,7 +262,7 @@ AudioStreamView::setup_rec_box ()
|
|||
break;
|
||||
}
|
||||
|
||||
ArdourCanvas::Rectangle * rec_rect = new ArdourCanvas::Rectangle (_canvas_group);
|
||||
ArdourCanvas::Rectangle * rec_rect = new ArdourCanvas::TimeRectangle (_canvas_group);
|
||||
rec_rect->set_x0 (xstart);
|
||||
rec_rect->set_y0 (0);
|
||||
rec_rect->set_x1 (xend);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue