1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 09:09:47 +02:00

ESC key stops scrubbing

This commit is contained in:
Paul Licameli 2016-04-18 01:47:30 -04:00
parent 408f1ecad2
commit c99d2df05d

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