summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-09-03 11:43:15 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-09-03 11:43:15 (GMT)
commit51d2c783cc24043522755deb27374823dd85bb67 (patch)
tree27530f01894c521495e86dd8a24795b761ab4405 /src/game/GameView.cpp
parent1ac964d9bac38504f4b7fddc09230c56edf1eff5 (diff)
downloadpowder-51d2c783cc24043522755deb27374823dd85bb67.zip
powder-51d2c783cc24043522755deb27374823dd85bb67.tar.gz
Remove translation from alt-click to middle click to fix line snapping. Fixed #173
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index 99ab0f2..8b7ee2e 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -988,8 +988,6 @@ void GameView::OnMouseMove(int x, int y, int dx, int dy)
void GameView::OnMouseDown(int x, int y, unsigned button)
{
- if(altBehaviour)
- button = BUTTON_MIDDLE;
if(selectMode!=SelectNone)
{
if(button==BUTTON_LEFT)
@@ -1023,9 +1021,6 @@ void GameView::OnMouseDown(int x, int y, unsigned button)
void GameView::OnMouseUp(int x, int y, unsigned button)
{
- if(altBehaviour)
- button = BUTTON_MIDDLE;
-
if(selectMode!=SelectNone)
{
if(button==BUTTON_LEFT)