Skip to content

Commit

Permalink
Fix save history button not working except on your own saves
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Mar 7, 2024
1 parent f47d0a9 commit 3a3a8c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/interface/SaveButton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 3a3a8c1

Please sign in to comment.