summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_line.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-01-24 18:43:14 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-01-24 18:43:14 +0000
commit979dbf91b94b485755ad6bb55ac32f4be7f3d634 (patch)
tree0d429cd2b3a7a0bce40045c672a0fe966cbe4497 /gtk2_ardour/automation_line.cc
parentd3187aa32a875347436f097905f661559650359c (diff)
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
Diffstat (limited to 'gtk2_ardour/automation_line.cc')
-rw-r--r--gtk2_ardour/automation_line.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc
index 1dc62f1f42..5598689855 100644
--- a/gtk2_ardour/automation_line.cc
+++ b/gtk2_ardour/automation_line.cc
@@ -642,11 +642,10 @@ 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;
- }
+ }
/* ok, we should display this point */