mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-01 10:13:22 +00:00
Now clipboard::cut() deselects the mask.
This commit is contained in:
parent
4f4d863a0f
commit
b8a39cf8db
@ -174,8 +174,10 @@ void clipboard::cut(SpriteWriter& sprite)
|
||||
{
|
||||
Undoable undoable(sprite, "Cut");
|
||||
undoable.clear_mask(app_get_color_to_clear_layer(sprite->layer));
|
||||
undoable.deselect_mask();
|
||||
undoable.commit();
|
||||
}
|
||||
sprite_generate_mask_boundaries(sprite);
|
||||
update_screen_for_sprite(sprite);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user