Tidy up region gain line drawing slightly so that it doesn't overhang its region.
git-svn-id: svn://localhost/ardour2/branches/3.0@5839 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
20f7592fab
commit
516048882c
@ -494,7 +494,7 @@ AudioRegionView::set_height (gdouble height)
|
|||||||
gain_line->show ();
|
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 ();
|
manage_zero_line ();
|
||||||
|
@ -45,6 +45,7 @@ AudioRegionGainLine::AudioRegionGainLine (const string & name, Session& s, Audio
|
|||||||
assert(l->parameter().type() == EnvelopeAutomation);
|
assert(l->parameter().type() == EnvelopeAutomation);
|
||||||
|
|
||||||
group->raise_to_top ();
|
group->raise_to_top ();
|
||||||
|
group->property_y() = 2;
|
||||||
set_uses_gain_mapping (true);
|
set_uses_gain_mapping (true);
|
||||||
terminal_points_can_slide = false;
|
terminal_points_can_slide = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user