1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:37:34 +00:00

GamesSettings+LibCards: Add setting for card-front image sets

This commit is contained in:
Sam Atkins 2023-10-03 17:06:54 +01:00 committed by Sam Atkins
parent 020b858fd0
commit d8e8b300c8
4 changed files with 68 additions and 1 deletions

View file

@ -125,6 +125,11 @@ void CardGame::config_string_did_change(StringView domain, StringView group, Str
update();
return;
}
if (key == "CardFrontImages") {
CardPainter::the().set_front_images_set_name(String::from_utf8(value).release_value_but_fixme_should_propagate_errors());
update();
return;
}
}
}