1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:17:35 +00:00

PixelPaint: Make the LineTool previews work while zoomed in

This commit is contained in:
Andreas Kling 2020-05-22 14:45:14 +02:00
parent 53b859c5ad
commit f57df29724
4 changed files with 31 additions and 15 deletions

View file

@ -51,6 +51,7 @@ private:
GUI::MouseButton m_drawing_button { GUI::MouseButton::None };
Gfx::Point m_line_start_position;
Gfx::Point m_line_end_position;
RefPtr<GUI::Menu> m_context_menu;
GUI::ActionGroup m_thickness_actions;
int m_thickness { 1 };