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

Bug 2422 - Append Recording always scrolls vertically to bottom track

Fix:
Move the scrolling to ProjectAudioManager::DoRecord(), where it's known whether the recording is appending to existing tracks or not.
This commit is contained in:
David Bailes
2020-07-07 16:25:12 +01:00
parent fff9e6a2e4
commit 25c1a0b280
3 changed files with 6 additions and 23 deletions

View File

@@ -733,6 +733,8 @@ bool ProjectAudioManager::DoRecord(AudacityProject &project,
TrackList::Get( *p ).GroupChannels(*first, recordingChannels);
// Bug 1548. First of new tracks needs the focus.
TrackFocus::Get(*p).Set(first);
if (TrackList::Get(*p).back())
TrackList::Get(*p).back()->EnsureVisible();
}
//Automated Input Level Adjustment Initialization