summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-09-13 14:54:54 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-09-13 14:54:54 (GMT)
commit44c55fbd45bf895f3d7f1e6ed9497258c1bae86f (patch)
treec0bc4703443a0dcef9f40347c956a8ee8934d49e /src/game/GameView.cpp
parentcd03297086068345426db1377d2b28029025b802 (diff)
downloadpowder-44c55fbd45bf895f3d7f1e6ed9497258c1bae86f.zip
powder-44c55fbd45bf895f3d7f1e6ed9497258c1bae86f.tar.gz
Ensure cursor position is correct after placing stamp.
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index fadbaea..48bb14c 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -1063,6 +1063,7 @@ void GameView::OnMouseUp(int x, int y, unsigned button)
}
}
}
+ currentMouse = ui::Point(x, y);
selectMode = SelectNone;
return;
}