1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:27:35 +00:00

LibCards: Draw cards with rounded card corners

closes #7412
This commit is contained in:
David Isaksson 2021-06-03 22:19:58 +02:00 committed by Andreas Kling
parent bf8fd4c193
commit fe03630716
2 changed files with 11 additions and 7 deletions

View file

@ -75,7 +75,7 @@ void CardStack::draw(GUI::Painter& painter, const Gfx::Color& background_color)
for (auto& card : m_stack) {
if (!card.is_moving())
card.clear_and_draw(painter, background_color);
card.clear_and_draw(painter, Gfx::Color::Transparent);
}
}