1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:47:45 +00:00

Piano: Make Key_Space shortcut to toggle playback

This commit is contained in:
Junior Rantila 2021-12-20 18:26:20 +01:00 committed by Brian Gianforcaro
parent bb7f32376c
commit 105f741131
3 changed files with 9 additions and 0 deletions

View file

@ -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;
}
}