Make a note of some confusion in the previous commit.
authorCarl Hetherington <carl@carlh.net>
Tue, 5 Jan 2010 02:30:28 +0000 (02:30 +0000)
committerCarl Hetherington <carl@carlh.net>
Tue, 5 Jan 2010 02:30:28 +0000 (02:30 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@6451 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/editor_selection.cc

index ab9cce74e10239fc8285ce996b3b8a5236580177..dac890fee45a7fc829653695d5698457dba3fa08 100644 (file)
@@ -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;