From 0d5ce8d939b1772626f3b223042b2bce0c72154a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 5 Jan 2010 02:30:28 +0000 Subject: [PATCH] Make a note of some confusion in the previous commit. git-svn-id: svn://localhost/ardour2/branches/3.0@6451 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_selection.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index ab9cce74e1..dac890fee4 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -243,6 +243,9 @@ Editor::set_selected_control_point_from_click (Selection::Operation op, bool /*n } /* rectangle 10 pixels surrounding the clicked control point */ + /* XXX: not really sure why we look for more control points close to the clicked one, + and don't just use the clicked one + */ nframes64_t const x1 = pixel_to_frame (clicked_control_point->get_x() - 10); nframes64_t const x2 = pixel_to_frame (clicked_control_point->get_x() + 10); double y1 = clicked_control_point->get_y() - 10;