mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-15 09:01:12 +01:00
Double click on Record button pins record head right, not center
This commit is contained in:
@@ -728,16 +728,23 @@ public:
|
||||
explicit PlaybackScroller(AudacityProject *project);
|
||||
~PlaybackScroller();
|
||||
|
||||
void Activate(bool active)
|
||||
enum class Mode {
|
||||
Off,
|
||||
Centered,
|
||||
Right,
|
||||
};
|
||||
|
||||
Mode GetMode() const { return mMode; }
|
||||
void Activate(Mode mode)
|
||||
{
|
||||
mActive = active;
|
||||
mMode = mode;
|
||||
}
|
||||
|
||||
private:
|
||||
void OnTimer(wxCommandEvent &event);
|
||||
|
||||
AudacityProject *mProject;
|
||||
bool mActive { false };
|
||||
Mode mMode { Mode::Off };
|
||||
};
|
||||
std::unique_ptr<PlaybackScroller> mPlaybackScroller;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user