X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fatrack.C;h=5ba270e69d928fd6b29e37bcbdeb2bdd1d455cc4;hb=52c715cbb159b61590b95182eedbadac84bbdfe6;hp=ee39162ac00b6ceffd6987477d592b3c0d059807;hpb=ad2996ab94e6e12c9c14a5b9f14792f76111dff7;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/atrack.C b/cinelerra-5.1/cinelerra/atrack.C index ee39162a..5ba270e6 100644 --- a/cinelerra-5.1/cinelerra/atrack.C +++ b/cinelerra-5.1/cinelerra/atrack.C @@ -106,11 +106,9 @@ void ATrack::create_objects() int ATrack::vertical_span(Theme *theme) { int track_h = Track::vertical_span(theme); - int patch_h = 0; - if(expand_view) - { - patch_h += theme->title_h + theme->play_h + theme->fade_h + theme->meter_h + theme->pan_h; - } + int patch_h = theme->title_h; + if( expand_view ) + patch_h += theme->play_h + theme->fade_h + theme->meter_h + theme->pan_h; return MAX(track_h, patch_h); }