mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:57:45 +00:00
BrickGame: Use title case in menu items consistently
by fixing the "Toggle pause" option
This commit is contained in:
parent
bd12a72546
commit
652a19b232
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||||
TRY(game_menu->try_add_action(GUI::Action::create("&New Game", { Mod_None, Key_F2 }, TRY(Gfx::Bitmap::load_from_file("/res/icons/16x16/reload.png"sv)), [&](auto&) {
|
TRY(game_menu->try_add_action(GUI::Action::create("&New Game", { Mod_None, Key_F2 }, TRY(Gfx::Bitmap::load_from_file("/res/icons/16x16/reload.png"sv)), [&](auto&) {
|
||||||
game->reset();
|
game->reset();
|
||||||
})));
|
})));
|
||||||
TRY(game_menu->try_add_action(GUI::Action::create("Toggle &pause", { Mod_None, Key_P }, [&](auto&) {
|
TRY(game_menu->try_add_action(GUI::Action::create("Toggle &Pause", { Mod_None, Key_P }, [&](auto&) {
|
||||||
game->toggle_pause();
|
game->toggle_pause();
|
||||||
})));
|
})));
|
||||||
TRY(game_menu->try_add_separator());
|
TRY(game_menu->try_add_separator());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue