diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-01-25 16:54:48 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-01-25 16:54:48 +0100 |
commit | 6a823402e6646dde7fd6d5fb70422310e4373e05 (patch) | |
tree | ee500a06e5975af0776d63c33822170a5980a461 /gtk2_ardour/time_axis_view.cc | |
parent | 49422aa89abea85fd195dd8aa8ac8121c4ca2648 (diff) |
This turns out to have been a band-aid over a deeper issue in libcanvas, fixed
in commit 49422aa89
Revert "fix an issue with selection rects not being redrawn correctly"
This reverts commit fa1a7ae9b91d0321b71b3de4f720a393d827cd9c.
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index 0ccc140f4f..67e487f648 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -864,11 +864,6 @@ TimeAxisView::show_selection (TimeSelection& ts) x2 = _editor.sample_to_pixel (start + cnt - 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)); // trim boxes are at the top for selections @@ -884,6 +879,7 @@ TimeAxisView::show_selection (TimeSelection& ts) rect->end_trim->hide(); } + rect->rect->show (); used_selection_rects.push_back (rect); } } |