change shift+wind tool to not always act like alt was pressed
This commit is contained in:
parent
9cab6959b6
commit
5afb95dcf1
@ -1641,7 +1641,10 @@ void GameView::OnTick(float dt)
|
|||||||
}
|
}
|
||||||
else if (windTool && drawMode == DrawLine)
|
else if (windTool && drawMode == DrawLine)
|
||||||
{
|
{
|
||||||
c->DrawLine(toolIndex, c->PointTranslate(drawPoint1), lineSnapCoords(c->PointTranslate(drawPoint1), currentMouse));
|
ui::Point drawPoint2 = currentMouse;
|
||||||
|
if (altBehaviour)
|
||||||
|
drawPoint2 = lineSnapCoords(c->PointTranslate(drawPoint1), currentMouse);
|
||||||
|
c->DrawLine(toolIndex, c->PointTranslate(drawPoint1), drawPoint2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user