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:
Andreas Kling 2022-08-25 20:58:17 +02:00
commit 49deb936be
Notes: sideshowbarker 2024-07-17 23:07:41 +09:00
4 changed files with 12 additions and 0 deletions

View file

@ -54,4 +54,9 @@ void Selection::remove_client(SelectionClient& client)
m_clients.remove(&client);
}
void Selection::set_mask(Mask mask)
{
m_mask = move(mask);
}
}