mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:17:35 +00:00
PixelPaint: Make selection changes undoable
Using the Rectangle Select Tool will now generate undo/redo commands like any other tool. :^)
This commit is contained in:
parent
d571159aeb
commit
49deb936be
4 changed files with 12 additions and 0 deletions
|
@ -54,4 +54,9 @@ void Selection::remove_client(SelectionClient& client)
|
|||
m_clients.remove(&client);
|
||||
}
|
||||
|
||||
void Selection::set_mask(Mask mask)
|
||||
{
|
||||
m_mask = move(mask);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue