mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-14 04:19:12 +00:00
Merge pull request #1707 from Gasparoken/fix-selection-edges
Fix: Automatic Show Selection Edges with Cmd+A (#1614)
This commit is contained in:
commit
eeb8069226
@ -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