13
0

when drawing range selection rect, use exclusive end semantics

This commit is contained in:
Paul Davis 2023-11-03 15:04:29 -06:00
parent d309ab31e8
commit 1b76e90246

View File

@ -895,7 +895,7 @@ TimeAxisView::show_selection (TimeSelection& ts)
rect = get_selection_rect ((*i).id);
x1 = _editor.time_to_pixel (start);
x2 = _editor.time_to_pixel (end.decrement());
x2 = _editor.time_to_pixel (end);
y2 = current_height() - 1;
if (dynamic_cast<AudioTimeAxisView*>(this)) {