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

LibWeb: Fix typo in FillEllipse painting command name

This commit is contained in:
Aliaksandr Kalenik 2023-11-21 15:24:42 +01:00 committed by Andreas Kling
parent 790bfd7ef9
commit a5cf875e23
2 changed files with 4 additions and 4 deletions

View file

@ -107,7 +107,7 @@ void RecordingPainter::draw_ellipse(Gfx::IntRect const& a_rect, Color color, int
void RecordingPainter::fill_ellipse(Gfx::IntRect const& a_rect, Color color, Gfx::AntiAliasingPainter::BlendMode blend_mode)
{
push_command(FillElipse {
push_command(FillEllipse {
.rect = state().translation.map(a_rect),
.color = color,
.blend_mode = blend_mode,
@ -488,7 +488,7 @@ void RecordingPainter::execute(PaintingCommandExecutor& executor)
[&](DrawEllipse const& command) {
return executor.draw_ellipse(command.rect, command.color, command.thickness);
},
[&](FillElipse const& command) {
[&](FillEllipse const& command) {
return executor.fill_ellipse(command.rect, command.color, command.blend_mode);
},
[&](DrawLine const& command) {