Tweak region view wave height. Fixes #3318.
git-svn-id: svn://localhost/ardour2/branches/3.0@7436 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
daec83d258
commit
3d7487c9be
|
@ -497,13 +497,10 @@ AudioRegionView::set_height (gdouble height)
|
|||
|
||||
uint32_t wcnt = waves.size();
|
||||
|
||||
// FIXME: ick
|
||||
height -= 2;
|
||||
|
||||
for (uint32_t n = 0; n < wcnt; ++n) {
|
||||
gdouble ht;
|
||||
|
||||
if ((height) < NAME_HIGHLIGHT_THRESH) {
|
||||
if (height < NAME_HIGHLIGHT_THRESH) {
|
||||
ht = ((height - 2 * wcnt) / (double) wcnt);
|
||||
} else {
|
||||
ht = (((height - 2 * wcnt) - NAME_HIGHLIGHT_SIZE) / (double) wcnt);
|
||||
|
|
|
@ -749,7 +749,9 @@ TimeAxisViewItem::reset_width_dependent_items (double pixel_width)
|
|||
frame_handle_end->hide();
|
||||
}
|
||||
|
||||
} if (pixel_width < 2.0) {
|
||||
}
|
||||
|
||||
if (pixel_width < 2.0) {
|
||||
|
||||
if (show_vestigial) {
|
||||
vestigial_frame->show();
|
||||
|
|
Loading…
Reference in New Issue
Block a user