mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
fix position of fade out
This commit is contained in:
parent
9009401da7
commit
4e9992a3a1
1 changed files with 1 additions and 1 deletions
|
|
@ -685,7 +685,7 @@ AudioRegionView::reset_fade_out_shape_width (boost::shared_ptr<AudioRegion> ar,
|
|||
points.assign (list->size(), Duple());
|
||||
|
||||
for (x = list->begin(), pi = 0; x != list->end(); ++x, ++pi) {
|
||||
points[pi].x = 1.0 + _pixel_width - pwidth + (pwidth * ((*x)->when/length));
|
||||
points[pi].x = _pixel_width - pwidth + (pwidth * ((*x)->when/length));
|
||||
points[pi].y = effective_height - ((*x)->value * effective_height) + TimeAxisViewItem::REGION_TOP_OFFSET + 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue