summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-02-02 12:09:11 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-02-02 12:09:11 (GMT)
commit8024caec55ff1b93eefe50663d4ddf63934f8d63 (patch)
treebd9b2ade18eea618f2955d15e2e37bd4c77c09aa /src/game/GameView.cpp
parent6641f1d54196a2193b258d3e76e2cca6ad3258b1 (diff)
downloadpowder-8024caec55ff1b93eefe50663d4ddf63934f8d63.zip
powder-8024caec55ff1b93eefe50663d4ddf63934f8d63.tar.gz
Flood fill
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);
}