GamesSettings: Center cards vertically after recent size change
This commit is contained in:
parent
eff25f9116
commit
ff8969bd5f
Notes:
sideshowbarker
2024-07-16 18:26:46 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/ff8969bd5f Pull-request: https://github.com/SerenityOS/serenity/pull/21326
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()));
|
||||
|
||||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue