mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-15 11:42:30 +00:00
Fix problem using Shift key on non-active editor
This avoid using focusing a non-active/visible editor with Shift key if there is no last position set in the active editor yet.
This commit is contained in:
parent
b7d6311c4c
commit
40136e5074
@ -1518,7 +1518,8 @@ bool Editor::startStraightLineWithFreehandTool()
|
||||
{
|
||||
tools::Tool* tool = App::instance()->activeToolManager()->selectedTool();
|
||||
return
|
||||
(tool &&
|
||||
(isActive() &&
|
||||
tool &&
|
||||
tool->getController(0)->isFreehand() &&
|
||||
tool->getInk(0)->isPaint() &&
|
||||
(getCustomizationDelegate()
|
||||
|
Loading…
x
Reference in New Issue
Block a user