1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:57:34 +00:00

PixelPaint: Make the EllipseTool previews work while zoomed in

This commit is contained in:
Andreas Kling 2020-05-22 15:57:04 +02:00
parent d12cce76a7
commit 9fc4ad2a52
2 changed files with 6 additions and 6 deletions

View file

@ -51,7 +51,7 @@ private:
};
virtual const char* class_name() const override { return "EllipseTool"; }
void draw_using(GUI::Painter& painter);
void draw_using(GUI::Painter&, const Gfx::Rect&);
GUI::MouseButton m_drawing_button { GUI::MouseButton::None };
Gfx::Point m_ellipse_start_position;