mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Make AdornedRulerPanel respect toolbar edit mode
AdornedRulerPanel also has a grabber, this commit makes it so that the grabber does not exist when edit mode is off. Signed-off-by: abb128 <alexx128p@gmail.com>
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
|
||||
#include "CellularPanel.h"
|
||||
#include "widgets/Ruler.h" // member variable
|
||||
#include "widgets/Grabber.h" // mGrabber
|
||||
#include "Prefs.h"
|
||||
#include "ViewInfo.h" // for PlayRegion
|
||||
|
||||
@@ -142,6 +143,9 @@ private:
|
||||
double mQuickPlayPos;
|
||||
|
||||
bool mIsSnapped;
|
||||
bool mEditMode;
|
||||
|
||||
Grabber *mGrabber;
|
||||
|
||||
PlayRegion mOldPlayRegion;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user