Permalink
Browse files

change shift+wind tool to not always act like alt was pressed

  • Loading branch information...
jacob1 committed Dec 1, 2015
1 parent 9cab695 commit 5afb95dcf147f2be5b60fb2c50f6e82729f1426e
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/gui/game/GameView.cpp
@@ -1641,7 +1641,10 @@ void GameView::OnTick(float dt)
}
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);
}
}

0 comments on commit 5afb95d

Please sign in to comment.