mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:28:10 +00:00
PixelPaint: Allow pasting a copied bitmap as a new layer :^)
This commit is contained in:
parent
00bdb74c84
commit
6aa7f59608
4 changed files with 35 additions and 2 deletions
|
@ -71,6 +71,8 @@ void Image::add_layer(NonnullRefPtr<Layer> layer)
|
|||
|
||||
for (auto* client : m_clients)
|
||||
client->image_did_add_layer(m_layers.size() - 1);
|
||||
|
||||
did_modify_layer_stack();
|
||||
}
|
||||
|
||||
size_t Image::index_of(const Layer& layer) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue