mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-16 14:42:44 +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 "app/transaction.h"
|
||||||
#include "doc/mask.h"
|
#include "doc/mask.h"
|
||||||
#include "doc/sprite.h"
|
#include "doc/sprite.h"
|
||||||
|
#include "app/pref/preferences.h"
|
||||||
|
|
||||||
namespace app {
|
namespace app {
|
||||||
|
|
||||||
@ -54,6 +55,10 @@ void MaskAllCommand::onExecute(Context* context)
|
|||||||
|
|
||||||
document->resetTransformation();
|
document->resetTransformation();
|
||||||
document->generateMaskBoundaries();
|
document->generateMaskBoundaries();
|
||||||
|
|
||||||
|
DocumentPreferences& docPref = Preferences::instance().document(document);
|
||||||
|
docPref.show.selectionEdges(true);
|
||||||
|
|
||||||
update_screen_for_document(document);
|
update_screen_for_document(document);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user