BrickGame: Use title case in menu items consistently

by fixing the "Toggle pause" option
This commit is contained in:
Karol Baraniecki 2023-04-08 16:48:15 +02:00 committed by Jelle Raaijmakers
commit 652a19b232
Notes: sideshowbarker 2024-07-17 05:58:46 +09:00

View file

@ -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&) {
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();
})));
TRY(game_menu->try_add_separator());