mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-09 18:44:46 +00:00
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…
x
Reference in New Issue
Block a user