mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
fix edges of selection rects in time axis views to lie correctly within bounds of the time axis view
This commit is contained in:
parent
6b835af842
commit
19ff353665
1 changed files with 2 additions and 2 deletions
|
|
@ -847,9 +847,9 @@ TimeAxisView::show_selection (TimeSelection& ts)
|
||||||
|
|
||||||
x1 = _editor.sample_to_pixel (start);
|
x1 = _editor.sample_to_pixel (start);
|
||||||
x2 = _editor.sample_to_pixel (start + cnt - 1);
|
x2 = _editor.sample_to_pixel (start + cnt - 1);
|
||||||
y2 = current_height();
|
y2 = current_height() - 1;
|
||||||
|
|
||||||
rect->rect->set (ArdourCanvas::Rect (x1, 1, x2, y2));
|
rect->rect->set (ArdourCanvas::Rect (x1, 0, x2, y2));
|
||||||
|
|
||||||
// trim boxes are at the top for selections
|
// trim boxes are at the top for selections
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue