1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-20 14:20:06 +02:00

Pinned playhead for recording is once again always center, not right

This commit is contained in:
Paul Licameli 2016-06-08 18:08:51 -04:00
parent d793152442
commit f21ad1ce49

View File

@ -1281,6 +1281,9 @@ void ControlToolBar::StartScrolling()
if (project) {
auto mode = Mode::Centered;
#if 0
// Enable these lines to pin the playhead right instead of center,
// when recording but not overdubbing.
if (gAudioIO->GetNumCaptureChannels() > 0) {
// recording
@ -1300,6 +1303,7 @@ void ControlToolBar::StartScrolling()
if (!duplex)
mode = Mode::Right;
}
#endif
project->GetPlaybackScroller().Activate(mode);
}