summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index 9e4a6dd..1336552 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -549,7 +549,7 @@ void GameView::OnTick(float dt)
c->DrawPoints(toolIndex, pointQueue);
}
}
- if(drawMode == DrawFill)
+ if(drawMode == DrawFill && isMouseDown)
{
c->DrawFill(toolIndex, currentMouse);
}