13
0

allow control points with the same x (pixel) coordinate, now that libart_lgpl does too

git-svn-id: svn://localhost/ardour2/trunk@1380 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-01-24 18:43:14 +00:00
parent d3187aa32a
commit 979dbf91b9
2 changed files with 2 additions and 5 deletions

View File

@ -642,9 +642,8 @@ AutomationLine::determine_visible_control_points (ALPoints& points)
if (view_index && pi != npoints && /* not the first, not the last */
(((this_rx == prev_rx) && (this_ry == prev_ry)) || /* same point */
(this_rx == prev_rx) || /* identical x coordinate */
(((this_rx - prev_rx) < (box_size + 2)) && /* not identical, but still too close horizontally */
((abs ((int)(this_ry - prev_ry)) < (int) (box_size + 2)))))) { /* too close vertically */
(abs ((int)(this_ry - prev_ry)) < (int) (box_size + 2))))) { /* too close vertically */
continue;
}

View File

@ -497,8 +497,6 @@ Editor::set_selected_regionview_from_click (bool press, Selection::Operation op,
get_relevant_audio_tracks (relevant_tracks);
cerr << "finding selectables between " << first_frame << " and " << last_frame << endl;
for (set<AudioTimeAxisView*>::iterator t = relevant_tracks.begin(); t != relevant_tracks.end(); ++t) {
(*t)->get_selectables (first_frame, last_frame, -1.0, -1.0, results);
}