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

PixelPaint: Make the RectangleTool previews work while zoomed in

This commit is contained in:
Andreas Kling 2020-05-22 14:57:10 +02:00
parent f57df29724
commit d12cce76a7
2 changed files with 9 additions and 9 deletions

View file

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