mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Fix ghost zero lines
git-svn-id: svn://localhost/ardour2/trunk@974 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b94f199970
commit
6f53e7c5e4
1 changed files with 3 additions and 0 deletions
|
|
@ -772,6 +772,9 @@ AudioRegionView::create_waves ()
|
|||
}
|
||||
|
||||
if (create_zero_line) {
|
||||
if (zero_line) {
|
||||
delete zero_line;
|
||||
}
|
||||
zero_line = new ArdourCanvas::SimpleLine (*group);
|
||||
zero_line->property_x1() = (gdouble) 1.0;
|
||||
zero_line->property_x2() = (gdouble) (_region->length() / samples_per_unit) - 1.0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue