mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-27 07:01:12 +01:00
Bug 275 - Snap-To status/quantisation are global, leading to incorrect indications in multiple projects
Make Snap To project specific This makes the Snap To setting in the selection bar project specific. Changing it will no longer affect other open projects. The state is saved to audacity.cfg when the checkbox is changed. This means that the next project window to open will start with the new value. (As it should be).
This commit is contained in:
@@ -360,10 +360,11 @@ class AUDACITY_DLL_API AudacityProject: public wxFrame,
|
||||
|
||||
// SelectionBar callback methods
|
||||
|
||||
virtual double AS_GetRate();
|
||||
virtual void AS_SetRate(double rate);
|
||||
virtual void AS_ModifySelection(double &start, double &end);
|
||||
virtual void AS_SetSnapTo(bool state);
|
||||
virtual bool AS_GetSnapTo();
|
||||
virtual void AS_SetSnapTo(bool state);
|
||||
virtual void AS_ModifySelection(double &start, double &end);
|
||||
|
||||
void SetStateTo(unsigned int n);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user