mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +00:00
Piano: Make Key_Space
shortcut to toggle playback
This commit is contained in:
parent
bb7f32376c
commit
105f741131
Notes:
sideshowbarker
2024-07-17 22:33:58 +09:00
Author: https://github.com/juniorrantila
Commit: 105f741131
Pull-request: https://github.com/SerenityOS/serenity/pull/11332
3 changed files with 9 additions and 0 deletions
|
@ -119,6 +119,9 @@ void MainWidget::special_key_action(int key_code)
|
|||
case Key_C:
|
||||
m_knobs_widget->cycle_waveform();
|
||||
break;
|
||||
case Key_Space:
|
||||
m_player_widget->toggle_paused();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue