Tidy up region gain line drawing slightly so that it doesn't overhang its region. thanks carlh

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5848 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Ben Loftis 2009-10-21 19:20:27 +00:00
parent 0decd7d745
commit aad62fc660
2 changed files with 2 additions and 1 deletions

View File

@ -455,7 +455,7 @@ AudioRegionView::set_height (gdouble height)
gain_line->show ();
}
}
gain_line->set_height ((uint32_t) rint (height - NAME_HIGHLIGHT_SIZE));
gain_line->set_height ((uint32_t) rint (height - NAME_HIGHLIGHT_SIZE - 2));
}
manage_zero_line ();

View File

@ -44,6 +44,7 @@ AudioRegionGainLine::AudioRegionGainLine (const string & name, Session& s, Audio
rv (r)
{
group->raise_to_top ();
group->property_y() = 2;
set_verbose_cursor_uses_gain_mapping (true);
terminal_points_can_slide = false;
}