mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-16 16:47:41 +02:00
Paul Licameli's fix for http://bugzilla.audacityteam.org/show_bug.cgi?id=751. modified. Exclude collapsed tracks from the resizing too, not just from computation of the new size.
The original fix silently change sizes of collapsed wavetracks. That's not visible, but will be seen when they are next unminimized. To be consistent with the new size calculation, we now only changes the sizes of the unminimized wavetracks.
This commit is contained in:
parent
67bbebc06b
commit
93f3c3cef1
@ -4442,7 +4442,8 @@ void AudacityProject::DoZoomFitV()
|
||||
TrackListIterator iter2(mTracks);
|
||||
t = iter2.First();
|
||||
while (t) {
|
||||
if (t->GetKind() == Track::Wave)
|
||||
if ((t->GetKind() == Track::Wave) &&
|
||||
!t->GetMinimized())
|
||||
t->SetHeight(height);
|
||||
t = iter2.Next();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user