1
0
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:
Paul Licameli 2016-04-18 14:38:34 -04:00
commit a3a5a243c2

View File

@ -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:
{