mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-20 01:21:16 +02:00
P & R recording: change color of pin button, as for play indicator
This commit is contained in:
@@ -3287,7 +3287,8 @@ void AdornedRulerPanel::UpdateButtonStates()
|
||||
pinButton->PopUp();
|
||||
else
|
||||
pinButton->PushDown();
|
||||
pinButton->SetAlternateIdx((mIsRecording ? 2 : 0) + (state ? 0 : 1));
|
||||
pinButton->SetAlternateIdx(
|
||||
(gAudioIO->IsCapturing() ? 2 : 0) + (state ? 0 : 1));
|
||||
// Bug 1584: Toltip now shows what clicking will do.
|
||||
const auto label = state
|
||||
? _("Click to unpin")
|
||||
|
Reference in New Issue
Block a user