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.
This commit is contained in:
parent
f1ce87a699
commit
1ca9cd228e
@ -3769,7 +3769,7 @@ Editor::set_visible_track_count (int32_t n)
|
||||
}
|
||||
|
||||
for (TrackViewList::iterator i = track_views.begin(); i != track_views.end(); ++i) {
|
||||
(*i)->set_height (h);
|
||||
(*i)->set_height (h, TimeAxisView::HeightPerLane);
|
||||
}
|
||||
|
||||
if (str != visible_tracks_selector.get_text()) {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user