mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-29 03:32:48 +00:00
Right-click subtract selection again on floating pixels (fix #1164)
This commit is contained in:
parent
8ee743c92a
commit
ee1dac0893
@ -256,9 +256,10 @@ bool MovingPixelsState::onMouseDown(Editor* editor, MouseMessage* msg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start "moving pixels" loop
|
// Start "moving pixels" loop. Here we check only for left-click as
|
||||||
if (editor->isInsideSelection() && (msg->left() ||
|
// right-click can be used to deselect/subtract selection, so we
|
||||||
msg->right())) {
|
// should drop the selection in this later case.
|
||||||
|
if (editor->isInsideSelection() && msg->left()) {
|
||||||
// In case that the user is pressing the copy-selection keyboard shortcut.
|
// In case that the user is pressing the copy-selection keyboard shortcut.
|
||||||
EditorCustomizationDelegate* customization = editor->getCustomizationDelegate();
|
EditorCustomizationDelegate* customization = editor->getCustomizationDelegate();
|
||||||
if ((customization) &&
|
if ((customization) &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user