mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-03 21:46:20 +00:00
Start a straight line w/Shift key only if mouse is on the editor
This commit is contained in:
parent
7323f1d071
commit
76f2502b98
@ -1519,6 +1519,7 @@ bool Editor::startStraightLineWithFreehandTool()
|
||||
tools::Tool* tool = App::instance()->activeToolManager()->selectedTool();
|
||||
return
|
||||
(isActive() &&
|
||||
(hasMouse() || hasCapture()) &&
|
||||
tool &&
|
||||
tool->getController(0)->isFreehand() &&
|
||||
tool->getInk(0)->isPaint() &&
|
||||
|
Loading…
Reference in New Issue
Block a user