diff options
| author | jacob1 <jfu614@gmail.com> | 2013-07-13 17:56:30 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-07-13 17:56:30 (GMT) |
| commit | 896dd03d25f823edc6611b9578245e1c821f73c8 (patch) | |
| tree | 83f3f0c1e882f7a8624033d8178b9614ccad7831 | |
| parent | 728d201e9336ffa9b5c463b9686168579ffd75ca (diff) | |
| download | powder-896dd03d25f823edc6611b9578245e1c821f73c8.zip powder-896dd03d25f823edc6611b9578245e1c821f73c8.tar.gz | |
hitting the buttons on the bottom while pasting a stamp will cancel the paste (fixes stacking glitch)
| -rw-r--r-- | src/gui/game/GameView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/game/GameView.cpp b/src/gui/game/GameView.cpp index f58039e..b1d46d2 100644 --- a/src/gui/game/GameView.cpp +++ b/src/gui/game/GameView.cpp @@ -1070,7 +1070,7 @@ void GameView::OnMouseUp(int x, int y, unsigned button) { if(selectMode==PlaceSave) { - if(placeSaveThumb) + if(placeSaveThumb && y <= YRES+MENUSIZE-BARSIZE) { int thumbX = selectPoint2.X - (placeSaveThumb->Width/2); int thumbY = selectPoint2.Y - (placeSaveThumb->Height/2); |
