summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-03 16:19:22 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-03 16:19:22 (GMT)
commitc7dd248ae3b3b71617ade8a1bbe3a28f25d3d03a (patch)
tree0e1eda6480492996310c749c5cb1e96e24d89418 /src/game/GameView.cpp
parent2652309a3fc4748fa5d983754bc52a7a617898ed (diff)
downloadpowder-c7dd248ae3b3b71617ade8a1bbe3a28f25d3d03a.zip
powder-c7dd248ae3b3b71617ade8a1bbe3a28f25d3d03a.tar.gz
Hide cursor when selecting/pasting stamps, fixes iseeu #56
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 39211fc..85f4330 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -1377,7 +1377,7 @@ void GameView::OnDraw()
{
ren->clearScreen(1.0f);
ren->RenderBegin();
- if(activeBrush && currentMouse.X > 0 && currentMouse.X < XRES && currentMouse.Y > 0 && currentMouse.Y < YRES)
+ if(selectMode == SelectNone && activeBrush && currentMouse.X > 0 && currentMouse.X < XRES && currentMouse.Y > 0 && currentMouse.Y < YRES)
{
ui::Point finalCurrentMouse = c->PointTranslate(currentMouse);