mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
GamesSettings: Center cards vertically after recent size change
This commit is contained in:
parent
eff25f9116
commit
ff8969bd5f
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ public:
|
||||||
{
|
{
|
||||||
auto preview = TRY(adopt_nonnull_ref_or_enomem(new (nothrow) CardGamePreview()));
|
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));
|
TRY(preview->add_stack(point, Cards::CardStack::Type::Stock));
|
||||||
|
|
||||||
point.translate_by(Cards::Card::width + 30, 0);
|
point.translate_by(Cards::Card::width + 30, 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue