mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 06:32:42 +00:00
Avoid drawing straight lines with Shift key + Magic Wand tool
This commit is contained in:
parent
8aefa24a5b
commit
1b79bd75b9
@ -83,6 +83,7 @@ void DrawingState::initToolLoop(Editor* editor, MouseMessage* msg)
|
||||
bool movement = false;
|
||||
|
||||
if (m_toolLoop->getController()->isFreehand() &&
|
||||
m_toolLoop->getInk()->isPaint() &&
|
||||
(editor->getCustomizationDelegate()
|
||||
->getPressedKeyAction(KeyContext::FreehandTool) & KeyAction::StraightLineFromLastPoint) == KeyAction::StraightLineFromLastPoint &&
|
||||
m_lastPoint.x >= 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user