mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:37:35 +00:00
PixelPaint: Ensure the selection is always within image bounds
This commit is contained in:
parent
fc137a7827
commit
f132751fae
8 changed files with 97 additions and 55 deletions
|
@ -47,6 +47,8 @@ private:
|
|||
MovingMode m_moving_mode { MovingMode::None };
|
||||
Gfx::IntPoint m_selection_start;
|
||||
Gfx::IntPoint m_selection_end;
|
||||
|
||||
Gfx::IntRect selection_rect() const;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue