1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-07 04:01:54 +01:00

New attached structure ProjectSettings stores rate, snap-to, et al.

This commit is contained in:
Paul Licameli
2019-05-27 10:17:16 -04:00
parent 327845b0ee
commit dd10e00a2d
40 changed files with 371 additions and 228 deletions

View File

@@ -1242,7 +1242,8 @@ bool ControlToolBar::DoRecord(AudacityProject &project,
newTrack->SetName(baseTrackName + wxT("_") + nameSuffix);
}
if ((recordingChannels > 2) && !(p->GetTracksFitVerticallyZoomed())) {
if ((recordingChannels > 2) &&
!(ProjectSettings::Get(*p).GetTracksFitVerticallyZoomed())) {
newTrack->SetMinimized(true);
}