diff options
| author | jacob1 <jfu614@gmail.com> | 2013-01-26 03:45:23 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-01-26 03:45:23 (GMT) |
| commit | 4f59211ba8ec4e41262554f6611b971748cdb73f (patch) | |
| tree | ac5126e1c925e459a638edf7506f2c857c19cc74 /src/game/GameView.cpp | |
| parent | ea38fc2d8662f62e30344a3f9a8d71771ca8bb8a (diff) | |
| download | powder-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.cpp | 2 |
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) { |
