summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-05-13 16:43:41 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-05-13 16:43:41 (GMT)
commit4032a0469b1f40f7197468f34986e365bd6e7314 (patch)
treef324519139168068628f8d6e0fc8046001c9c0a1 /src/game/GameView.cpp
parenta2e91c247fab4a2cee8936d83979f4a72390f7e7 (diff)
downloadpowder-4032a0469b1f40f7197468f34986e365bd6e7314.zip
powder-4032a0469b1f40f7197468f34986e365bd6e7314.tar.gz
Click function for tools that aren't continuous. Debug helper for UI components (Ctrl+Shift D when DEBUG is defined), fix add sign window logic
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index cfc6a19..c05ca12 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -599,6 +599,7 @@ void GameView::OnMouseUp(int x, int y, unsigned button)
}
if(drawMode == DrawPoints)
{
+ c->ToolClick(toolIndex, ui::Point(x, y));
pointQueue.push(new ui::Point(x, y));
}
if(drawModeReset)