automation drawing: don't draw staircases when there are no staircases
This commit is contained in:
parent
c584bfd374
commit
7f653de3e2
@ -7331,8 +7331,10 @@ AutomationDrawDrag::motion (GdkEvent* ev, bool first_move)
|
||||
}
|
||||
|
||||
if (add_point) {
|
||||
if (drawn_points.empty() || (pos != drawn_points.back().when)) {
|
||||
dragging_line->add_point (ArdourCanvas::Duple (x, y));
|
||||
drawn_points.push_back (AutomationTimeAxisView::DrawnPoint (pos, y));
|
||||
}
|
||||
edge_x = x;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user