mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-02 11:59:58 +00:00
Fix problem in "select all" command: reset the transformation bounds.
This commit is contained in:
parent
dbae742436
commit
15df7d40c7
@ -69,6 +69,7 @@ void MaskAllCommand::onExecute(Context* context)
|
|||||||
// Change the selection
|
// Change the selection
|
||||||
mask_replace(document->getMask(), 0, 0, sprite->getWidth(), sprite->getHeight());
|
mask_replace(document->getMask(), 0, 0, sprite->getWidth(), sprite->getHeight());
|
||||||
document->setMaskVisible(true);
|
document->setMaskVisible(true);
|
||||||
|
document->resetTransformation();
|
||||||
|
|
||||||
document->generateMaskBoundaries();
|
document->generateMaskBoundaries();
|
||||||
update_screen_for_document(document);
|
update_screen_for_document(document);
|
||||||
|
Loading…
Reference in New Issue
Block a user