mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
PixelPaint: Move selection from ImageEditor to Image
This is preparation for making selection state undoable.
This commit is contained in:
parent
67596d9546
commit
d571159aeb
Notes:
sideshowbarker
2024-07-17 07:44:05 +09:00
Author: https://github.com/awesomekling
Commit: d571159aeb
8 changed files with 70 additions and 32 deletions
|
@ -37,6 +37,7 @@ ErrorOr<NonnullRefPtr<Image>> Image::try_create_with_size(Gfx::IntSize const& si
|
|||
|
||||
Image::Image(Gfx::IntSize const& size)
|
||||
: m_size(size)
|
||||
, m_selection(*this)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue