mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 07:26:32 +01:00
port 7e716d27 to XFadeCurve
This commit is contained in:
parent
7e716d27a8
commit
81a2fe39e8
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ XFadeCurve::get_path(Rect const & area, Cairo::RefPtr<Cairo::Context> context, C
|
|||
window_space = item_to_window (Duple (c.samples[idx].x, 0.0), false);
|
||||
if (window_space.x >= area.x0) break;
|
||||
}
|
||||
for (Points::size_type idx = c.n_samples; right > left;) {
|
||||
for (Points::size_type idx = c.n_samples - 1; right > left;) {
|
||||
if (--idx <= left) break;
|
||||
window_space = item_to_window (Duple (c.samples[idx].x, 0.0), false);
|
||||
if (window_space.x <= area.x1) break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue