mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-08 08:01:19 +02:00
ESC key stops scrubbing
This commit is contained in:
commit
a3a5a243c2
@ -1150,7 +1150,10 @@ void TrackPanel::HandleEscapeKey(bool down)
|
||||
if (!down)
|
||||
return;
|
||||
|
||||
switch (mMouseCapture)
|
||||
auto &scrubber = GetProject()->GetScrubber();
|
||||
if(scrubber.IsScrubbing())
|
||||
scrubber.StopScrubbing();
|
||||
else switch (mMouseCapture)
|
||||
{
|
||||
case IsSelecting:
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user