mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-22 16:02:54 +02:00
hitting the buttons on the bottom while pasting a stamp will cancel the paste (fixes stacking glitch)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user