mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-12 03:14:04 +02:00
Fix save history button not working except on your own saves
This commit is contained in:
@@ -361,10 +361,10 @@ void SaveButton::OnMouseMoved(int x, int y)
|
|||||||
isMouseInsideHistory = false;
|
isMouseInsideHistory = false;
|
||||||
if (MouseInside)
|
if (MouseInside)
|
||||||
{
|
{
|
||||||
if(y > Size.Y-11)
|
if (y > Size.Y-11)
|
||||||
isMouseInsideAuthor = true;
|
isMouseInsideAuthor = true;
|
||||||
|
|
||||||
if(showVotes && y > Size.Y-29 && y < Size.Y - 18 && x > 0 && x < 9)
|
if (y > Size.Y-29 && y < Size.Y - 18 && x > 0 && x < 9)
|
||||||
isMouseInsideHistory = true;
|
isMouseInsideHistory = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user