1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 02:28:12 +00:00

LibCards: Correct a spelling mistake

This commit is contained in:
Gunnar Beutner 2021-05-22 07:13:31 +02:00 committed by Linus Groh
parent dfa2075887
commit 630430379e
2 changed files with 2 additions and 2 deletions

View file

@ -139,7 +139,7 @@ void Card::draw(GUI::Painter& painter) const
void Card::clear(GUI::Painter& painter, const Color& background_color) const
{
painter.fill_rect({ old_positon(), { width, height } }, background_color);
painter.fill_rect({ old_position(), { width, height } }, background_color);
}
void Card::save_old_position()

View file

@ -39,7 +39,7 @@ public:
Gfx::IntRect& rect() { return m_rect; }
Gfx::IntPoint position() const { return m_rect.location(); }
const Gfx::IntPoint& old_positon() const { return m_old_position; }
const Gfx::IntPoint& old_position() const { return m_old_position; }
uint8_t value() const { return m_value; };
Type type() const { return m_type; }