mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-18 11:26:00 +01:00
Fix full_canvas_height thinko, don't clip_to_viewport when not needed.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5151 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
adb94a0d9e
commit
139df10405
1 changed files with 0 additions and 8 deletions
|
|
@ -338,16 +338,9 @@ Editor::track_canvas_size_allocated ()
|
|||
|
||||
if (session) {
|
||||
TrackViewList::iterator i;
|
||||
double height = 0;
|
||||
|
||||
for (i = track_views.begin(); i != track_views.end(); ++i) {
|
||||
if ((*i)->control_parent) {
|
||||
height += (*i)->effective_height;
|
||||
}
|
||||
(*i)->clip_to_viewport ();
|
||||
}
|
||||
|
||||
full_canvas_height = height + canvas_timebars_vsize;
|
||||
}
|
||||
|
||||
if (height_changed) {
|
||||
|
|
@ -392,7 +385,6 @@ Editor::controls_layout_size_request (Requisition* req)
|
|||
TimeAxisView *tv = (*i)[route_display_columns.tv];
|
||||
if (tv != 0) {
|
||||
pos += tv->effective_height;
|
||||
tv->clip_to_viewport ();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue