X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fvtrack.C;fp=cinelerra-5.1%2Fcinelerra%2Fvtrack.C;h=c8a34e45931571fad1b4fc8d150571c3e663c367;hb=95f86161c3b9c422bbd04ec8f685aa7e856d6dd7;hp=53a6550b299694ced59a70eaf08649d1853eceec;hpb=09c2f5f26f06b33101230e42cdb0a482a6cccf76;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/vtrack.C b/cinelerra-5.1/cinelerra/vtrack.C index 53a6550b..c8a34e45 100644 --- a/cinelerra-5.1/cinelerra/vtrack.C +++ b/cinelerra-5.1/cinelerra/vtrack.C @@ -85,11 +85,9 @@ int VTrack::copy_settings(Track *track) int VTrack::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->mode_h; - } + int patch_h = theme->title_h; + if( expand_view ) + patch_h += theme->play_h + theme->fade_h + theme->mode_h; return MAX(track_h, patch_h); }