From 1b76e90246c10ca293fc23774a643c1a89df6a97 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 3 Nov 2023 15:04:29 -0600 Subject: [PATCH] when drawing range selection rect, use exclusive end semantics --- gtk2_ardour/time_axis_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index 1e84685b9b..51d5782a97 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -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(this)) {