mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-15 20:42:40 +00:00
Fix: Automatic Show Selection Edges with Cmd+A (#1614)
This commit is contained in:
parent
95a59968c8
commit
4242c4eef3
@ -15,6 +15,7 @@
|
||||
#include "app/transaction.h"
|
||||
#include "doc/mask.h"
|
||||
#include "doc/sprite.h"
|
||||
#include "app/pref/preferences.h"
|
||||
|
||||
namespace app {
|
||||
|
||||
@ -54,6 +55,10 @@ void MaskAllCommand::onExecute(Context* context)
|
||||
|
||||
document->resetTransformation();
|
||||
document->generateMaskBoundaries();
|
||||
|
||||
DocumentPreferences& docPref = Preferences::instance().document(document);
|
||||
docPref.show.selectionEdges(true);
|
||||
|
||||
update_screen_for_document(document);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user