From 896dd03d25f823edc6611b9578245e1c821f73c8 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sat, 13 Jul 2013 13:56:30 -0400 Subject: hitting the buttons on the bottom while pasting a stamp will cancel the paste (fixes stacking glitch) 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); -- cgit v0.9.2-21-gd62e