Fix save history button not working except on your own saves
This commit is contained in:
parent
f47d0a9828
commit
3a3a8c1cc3
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user