mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 15:32:22 +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
Notes:
sideshowbarker
2024-07-17 05:58:46 +09:00
Author: https://github.com/karolba
Commit: 652a19b232
Pull-request: https://github.com/SerenityOS/serenity/pull/18236
Reviewed-by: https://github.com/gmta ✅
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&) {
|
||||
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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue