mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-13 07:07:46 +02:00
Pinned playhead for recording is once again always center, not right
This commit is contained in:
parent
d793152442
commit
f21ad1ce49
@ -1281,6 +1281,9 @@ void ControlToolBar::StartScrolling()
|
|||||||
if (project) {
|
if (project) {
|
||||||
auto mode = Mode::Centered;
|
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) {
|
if (gAudioIO->GetNumCaptureChannels() > 0) {
|
||||||
// recording
|
// recording
|
||||||
|
|
||||||
@ -1300,6 +1303,7 @@ void ControlToolBar::StartScrolling()
|
|||||||
if (!duplex)
|
if (!duplex)
|
||||||
mode = Mode::Right;
|
mode = Mode::Right;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
project->GetPlaybackScroller().Activate(mode);
|
project->GetPlaybackScroller().Activate(mode);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user