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
Notes: sideshowbarker 2024-07-16 18:26:46 +09:00

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);