This turns out to have been a band-aid over a deeper issue in libcanvas, fixed
in commit49422aa89
Revert "fix an issue with selection rects not being redrawn correctly" This reverts commitfa1a7ae9b9
.
This commit is contained in:
parent
49422aa89a
commit
6a823402e6
|
@ -864,11 +864,6 @@ TimeAxisView::show_selection (TimeSelection& ts)
|
||||||
x2 = _editor.sample_to_pixel (start + cnt - 1);
|
x2 = _editor.sample_to_pixel (start + cnt - 1);
|
||||||
y2 = current_height() - 1;
|
y2 = current_height() - 1;
|
||||||
|
|
||||||
/* rect must be visible for the change in its bounding box to
|
|
||||||
cause a redraw.
|
|
||||||
*/
|
|
||||||
|
|
||||||
rect->rect->show ();
|
|
||||||
rect->rect->set (ArdourCanvas::Rect (x1, 0, 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
|
||||||
|
@ -884,6 +879,7 @@ TimeAxisView::show_selection (TimeSelection& ts)
|
||||||
rect->end_trim->hide();
|
rect->end_trim->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rect->rect->show ();
|
||||||
used_selection_rects.push_back (rect);
|
used_selection_rects.push_back (rect);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user