diff --git a/Userland/Games/Chess/ChessWidget.cpp b/Userland/Games/Chess/ChessWidget.cpp index 8c4097b8a40..3480d7ce1e9 100644 --- a/Userland/Games/Chess/ChessWidget.cpp +++ b/Userland/Games/Chess/ChessWidget.cpp @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -151,7 +152,8 @@ void ChessWidget::paint_event(GUI::PaintEvent& event) move_point = { (7 - square.file) * tile_width, square.rank * tile_height }; } - painter.fill_ellipse({ move_point + point_offset, rect_size }, Gfx::Color::LightGray); + Gfx::AntiAliasingPainter aa_painter { painter }; + aa_painter.fill_ellipse({ move_point + point_offset, rect_size }, Gfx::Color::LightGray); } }