13
0

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
This commit is contained in:
Carl Hetherington 2010-01-05 02:30:28 +00:00
parent 5f8f481172
commit 0d5ce8d939

View 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;