Fix save history button not working except on your own saves

This commit is contained in:
jacob1 2024-03-06 23:11:00 -05:00
parent f47d0a9828
commit 3a3a8c1cc3
No known key found for this signature in database
GPG Key ID: 4E58A32D510E1995

View File

@ -361,10 +361,10 @@ void SaveButton::OnMouseMoved(int x, int y)
isMouseInsideHistory = false;
if (MouseInside)
{
if(y > Size.Y-11)
if (y > Size.Y-11)
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;
}
}