mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
GamesSettings+LibCards: Make 'Red' the default card back
The red back is a more suitable default as it's a traditional vanilla design and red is one of Serenity's brand colors.
This commit is contained in:
parent
bd5296d6bb
commit
f2b7224d93
Notes:
sideshowbarker
2024-07-16 19:17:47 +09:00
Author: https://github.com/cubiclove Commit: https://github.com/SerenityOS/serenity/commit/f2b7224d93 Pull-request: https://github.com/SerenityOS/serenity/pull/21410
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
|||
|
||||
namespace GamesSettings {
|
||||
|
||||
static constexpr StringView default_card_back_image_path = "/res/graphics/cards/backs/buggie-deck.png"sv;
|
||||
static constexpr StringView default_card_back_image_path = "/res/graphics/cards/backs/Red.png"sv;
|
||||
static constexpr StringView default_card_front_image_set = "Classic"sv;
|
||||
|
||||
class CardGamePreview final : public Cards::CardGame {
|
||||
|
|
|
@ -23,7 +23,7 @@ CardPainter& CardPainter::the()
|
|||
|
||||
CardPainter::CardPainter()
|
||||
{
|
||||
m_back_image_path = MUST(String::from_deprecated_string(Config::read_string("Games"sv, "Cards"sv, "CardBackImage"sv, "/res/graphics/cards/backs/buggie-deck.png"sv)));
|
||||
m_back_image_path = MUST(String::from_deprecated_string(Config::read_string("Games"sv, "Cards"sv, "CardBackImage"sv, "/res/graphics/cards/backs/Red.png"sv)));
|
||||
set_front_images_set_name(MUST(String::from_deprecated_string(Config::read_string("Games"sv, "Cards"sv, "CardFrontImages"sv, "Classic"sv))));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue