mirror of https://github.com/aseprite/aseprite.git
Fix regression - ctrl to copy selection activates move tool
This commit is contained in:
parent
ae904428fa
commit
bcaa12be11
|
|
@ -879,7 +879,7 @@ bool KeyboardShortcuts::getCommandFromKeyMessage(const Message* msg, Command** c
|
||||||
tools::Tool* KeyboardShortcuts::getCurrentQuicktool(tools::Tool* currentTool)
|
tools::Tool* KeyboardShortcuts::getCurrentQuicktool(tools::Tool* currentTool)
|
||||||
{
|
{
|
||||||
if (currentTool && currentTool->getInk(0)->isSelection()) {
|
if (currentTool && currentTool->getInk(0)->isSelection()) {
|
||||||
KeyPtr key = action(KeyAction::CopySelection);
|
KeyPtr key = action(KeyAction::CopySelection, KeyContext::TranslatingSelection);
|
||||||
if (key && key->isPressed())
|
if (key && key->isPressed())
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue