diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-12-14 15:41:31 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-12-14 18:25:02 +0000 |
commit | 30833b0ba86e709a6e4a98301687c56ee03de483 (patch) | |
tree | b58411d56c573e198dd55a4fb59eaaa96fcc870c /Userland/Games | |
parent | 0bf37b8763a2d3f8f18f26635d862a50c2850c8d (diff) | |
download | serenity-30833b0ba86e709a6e4a98301687c56ee03de483.zip |
BrickGame: Ignore unhandled keydown events
This makes Action shortcuts work again. :^)
Diffstat (limited to 'Userland/Games')
-rw-r--r-- | Userland/Games/BrickGame/BrickGame.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Games/BrickGame/BrickGame.cpp b/Userland/Games/BrickGame/BrickGame.cpp index 4de5bb8c15..8d8a6e78c6 100644 --- a/Userland/Games/BrickGame/BrickGame.cpp +++ b/Userland/Games/BrickGame/BrickGame.cpp @@ -471,6 +471,7 @@ void BrickGame::keydown_event(GUI::KeyEvent& event) render_request = m_brick_game->move_down_fast(); break; default: + event.ignore(); break; } if (render_request == Bricks::RenderRequest::RequestUpdate) |