diff options
author | Robin Gareus <robin@gareus.org> | 2015-03-19 21:55:28 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-03-19 21:55:28 +0100 |
commit | 1ca9cd228e332440226c7256f539f6d343d2eca2 (patch) | |
tree | dd6cbe0ef3ddfc4238a97f3c27e37867a2551263 /gtk2_ardour/editor_summary.cc | |
parent | f1ce87a699c9cca17197b4f33bec5da163810d4f (diff) |
update track-height scaling:
“number of visible tracks”: count automation lanes
as tracks. Distribute equally.
“Summary View”: the visual lane represents both
track + automation. Set the total height.
Left to do: recursive “Shrink” and “Expand” tools
if there is no explicit selection.
Diffstat (limited to 'gtk2_ardour/editor_summary.cc')
-rw-r--r-- | gtk2_ardour/editor_summary.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_summary.cc b/gtk2_ardour/editor_summary.cc index 1ed9af974e..b570cf4e1a 100644 --- a/gtk2_ardour/editor_summary.cc +++ b/gtk2_ardour/editor_summary.cc @@ -972,7 +972,7 @@ EditorSummary::set_editor_y (pair<double, double> const y) } if (yc.first <= 0 && yc.second >= _track_height) { - (*i)->set_height (max (TimeAxisView::preset_height (HeightSmall), (uint32_t) ((*i)->effective_height() * scale))); + (*i)->set_height (max (TimeAxisView::preset_height (HeightSmall), (uint32_t) ((*i)->effective_height() * scale)), TimeAxisView::TotalHeight); } yc.first -= _track_height; |