summaryrefslogtreecommitdiff
path: root/src/gui/game/GameView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/game/GameView.cpp')
-rw-r--r--src/gui/game/GameView.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/game/GameView.cpp b/src/gui/game/GameView.cpp
index 3dc677b..923d6e6 100644
--- a/src/gui/game/GameView.cpp
+++ b/src/gui/game/GameView.cpp
@@ -1063,6 +1063,7 @@ void GameView::OnMouseDown(int x, int y, unsigned button)
isMouseDown = true;
if(!pointQueue.size())
c->HistorySnapshot();
+ c->ToolStart(toolIndex, c->PointTranslate(ui::Point(x, y)));
if(drawMode == DrawRect || drawMode == DrawLine)
{
drawPoint1 = c->PointTranslate(ui::Point(x, y));