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

PixelPaint: Scale lasso tool preview path on zoom level change

The size of the preview shown by the lasso tool now scales with the
current zoom level.
This commit is contained in:
Tim Ledbetter 2023-01-11 22:41:59 +00:00 committed by Andreas Kling
parent 1cf45ee930
commit b0fad409bf
2 changed files with 17 additions and 10 deletions

View file

@ -37,7 +37,7 @@ private:
Gfx::IntPoint m_start_position;
Gfx::IntPoint m_most_recent_position;
RefPtr<Gfx::Bitmap> m_selection_bitmap;
Gfx::Path m_preview_path;
Vector<Gfx::IntPoint> m_preview_coords;
Gfx::IntPoint m_top_left;
Gfx::IntPoint m_bottom_right;