mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 10:20:48 +00:00
Enable Layer > Duplicate option for Layer Groups
Bug reported here: http://steamcommunity.com/app/431730/discussions/1/1479856439026474486/
This commit is contained in:
parent
4585b5e7e5
commit
cca23cb4f7
@ -1,5 +1,5 @@
|
||||
// Aseprite
|
||||
// Copyright (C) 2001-2016 David Capello
|
||||
// Copyright (C) 2001-2017 David Capello
|
||||
//
|
||||
// This program is distributed under the terms of
|
||||
// the End-User License Agreement for Aseprite.
|
||||
@ -44,8 +44,7 @@ DuplicateLayerCommand::DuplicateLayerCommand()
|
||||
bool DuplicateLayerCommand::onEnabled(Context* context)
|
||||
{
|
||||
return context->checkFlags(ContextFlags::ActiveDocumentIsWritable |
|
||||
ContextFlags::HasActiveLayer |
|
||||
ContextFlags::ActiveLayerIsImage);
|
||||
ContextFlags::HasActiveLayer);
|
||||
}
|
||||
|
||||
void DuplicateLayerCommand::onExecute(Context* context)
|
||||
|
Loading…
x
Reference in New Issue
Block a user