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:
parent
408f1ecad2
commit
c99d2df05d
@ -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