mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-14 17:14:07 +01:00
Keyboard scrubbing: faster change of direction
If one of the keyboard scrubbing keys is being held down, and the other keyboard scrubbing key is pressed: 1. With current behaviour, scrubbing in the other direction only starts when the original key is released - scrubbing stops and then starts in the other direction. 2. With the new behaviour, scrubbing immediately changes direction, and does not stop when the original key is released - scrubbing does not stop and then start again. New behaviour: If one of the keyboard scrubbing keys is being held down,
This commit is contained in:
@@ -82,6 +82,10 @@ public:
|
||||
{ return mKeyboardScrubbing; }
|
||||
bool IsKeyboardScrubbing() const
|
||||
{ return IsScrubbing() && mKeyboardScrubbing; }
|
||||
void SetBackwards(bool backwards)
|
||||
{ mBackwards = backwards;}
|
||||
bool IsBackwards() const
|
||||
{ return mBackwards;}
|
||||
// True iff the user has clicked to start scrub and not yet stopped,
|
||||
// but IsScrubbing() may yet be false
|
||||
bool HasMark() const
|
||||
|
||||
Reference in New Issue
Block a user