summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-01-26 03:45:23 (GMT)
committer jacob1 <jfu614@gmail.com>2013-01-26 03:45:23 (GMT)
commit4f59211ba8ec4e41262554f6611b971748cdb73f (patch)
treeac5126e1c925e459a638edf7506f2c857c19cc74 /src/game/GameView.cpp
parentea38fc2d8662f62e30344a3f9a8d71771ca8bb8a (diff)
downloadpowder-4f59211ba8ec4e41262554f6611b971748cdb73f.zip
powder-4f59211ba8ec4e41262554f6611b971748cdb73f.tar.gz
Fix brush not being visible when using CTRL to change the size
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 a037d05..6312f4a 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -1818,7 +1818,7 @@ void GameView::OnDraw()
{
activeBrush->RenderFill(ren, finalCurrentMouse);
}
- if (drawMode == DrawPoints || drawMode==DrawLine)
+ if (drawMode == DrawPoints || drawMode==DrawLine || (drawMode == DrawRect && !isMouseDown))
{
if(wallBrush)
{