mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:17:44 +00:00
PixelPaint: Make the RectangleTool previews work while zoomed in
This commit is contained in:
parent
f57df29724
commit
d12cce76a7
2 changed files with 9 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue