mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:17:44 +00:00
Piano: Make Key_Space
shortcut to toggle playback
This commit is contained in:
parent
bb7f32376c
commit
105f741131
3 changed files with 9 additions and 0 deletions
|
@ -112,3 +112,8 @@ void PlayerWidget::next_track()
|
|||
{
|
||||
m_track_dropdown->set_selected_index(m_track_manager.next_track_index());
|
||||
}
|
||||
|
||||
void PlayerWidget::toggle_paused()
|
||||
{
|
||||
m_play_button->click();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue