MediaPlayer: reintroduce "stop" shortcut.
It turns out there are some people actually using it, mainly when playing music. If you interrupt music, you often want to start listeing from the start of the track again (unlike for video), so having a stop button makes sense in that case.
This commit is contained in:
parent
79d08c3bf1
commit
b02efcef88
|
@ -2257,8 +2257,9 @@ MainWin::_KeyDown(BMessage* msg)
|
|||
case 0x4e:
|
||||
fController->Pause();
|
||||
return true;
|
||||
// 0x4f would be the "stop" button, but this is too dangerous to be
|
||||
// triggered with a single key (it loses the current position)
|
||||
case 0x4f:
|
||||
fController->Stop();
|
||||
return true;
|
||||
case 0x50:
|
||||
PostMessage(M_SKIP_NEXT);
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue