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:
parent
1cf45ee930
commit
b0fad409bf
2 changed files with 17 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue