mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-11 15:16:27 +01:00
Fix for keyboard commands for time shifting clips
Commands didn't update history etc. Fix: Commands now call TrackPanel::MakeParentPushState.
This commit is contained in:
@@ -256,7 +256,7 @@ class AUDACITY_DLL_API TrackPanel final : public OverlayPanel {
|
||||
// (ignoring any fisheye)
|
||||
virtual double GetScreenEndTime() const;
|
||||
|
||||
virtual void OnClipMove(bool right);
|
||||
virtual void OnClipMove(bool right, bool keyUp);
|
||||
|
||||
protected:
|
||||
virtual MixerBoard* GetMixerBoard();
|
||||
@@ -682,6 +682,8 @@ protected:
|
||||
// us to undo the slide and then slide it by another amount
|
||||
double mHSlideAmount;
|
||||
|
||||
double mHSlideAmountTotal; // used for sliding horizontally using the keyboard
|
||||
|
||||
bool mDidSlideVertically;
|
||||
|
||||
bool mRedrawAfterStop;
|
||||
|
||||
Reference in New Issue
Block a user