mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Cleanups and a few comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@4374 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
69ed2a3c27
commit
042997e5ed
28 changed files with 342 additions and 339 deletions
|
|
@ -341,9 +341,7 @@ Editor::track_canvas_size_allocated ()
|
|||
double height = 0;
|
||||
|
||||
for (i = track_views.begin(); i != track_views.end(); ++i) {
|
||||
if ((*i)->control_parent) {
|
||||
height += (*i)->effective_height;
|
||||
}
|
||||
height += (*i)->effective_height ();
|
||||
(*i)->clip_to_viewport ();
|
||||
}
|
||||
|
||||
|
|
@ -391,7 +389,7 @@ Editor::controls_layout_size_request (Requisition* req)
|
|||
for (pos = 0, i = rows.begin(); i != rows.end(); ++i) {
|
||||
TimeAxisView *tv = (*i)[route_display_columns.tv];
|
||||
if (tv != 0) {
|
||||
pos += tv->effective_height;
|
||||
pos += tv->effective_height ();
|
||||
tv->clip_to_viewport ();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue