1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-05 20:10:15 +00:00

GamesSettings: Center cards vertically after recent size change

This commit is contained in:
Sam Atkins 2023-10-03 17:21:15 +01:00 committed by Sam Atkins
parent eff25f9116
commit ff8969bd5f

View File

@ -29,7 +29,7 @@ public:
{
auto preview = TRY(adopt_nonnull_ref_or_enomem(new (nothrow) CardGamePreview()));
Gfx::IntPoint point { 25, 30 };
Gfx::IntPoint point { 25, 24 };
TRY(preview->add_stack(point, Cards::CardStack::Type::Stock));
point.translate_by(Cards::Card::width + 30, 0);