Make save history icon not so hard to find, and show up on all saves (not just your own)

The icon is now shown whenever you hover over the save, not just when you hover over where the icon is supposed to be
This commit is contained in:
jacob1 2023-10-08 19:08:03 -04:00
parent 0165a9b121
commit b2045c067e
No known key found for this signature in database
GPG Key ID: 4E58A32D510E1995

View File

@ -231,7 +231,7 @@ void SaveButton::Draw(const Point& screenPos)
g->BlendText({ x, y }, votesBackground2, 0xC0C0C0_rgb .WithAlpha(255));
g->BlendText({ x+3, y }, votesString, 0xFFFFFF_rgb .WithAlpha(255));
}
if (isMouseInsideHistory && showVotes)
if (isMouseInside)
{
int x = screenPos.X;
int y = screenPos.Y-15+(Size.Y-thumbBoxSize.Y)/2+thumbBoxSize.Y;