From b2045c067ea2f7c80fd24b28c7a8ae92750e2b66 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 8 Oct 2023 19:08:03 -0400 Subject: [PATCH] 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 --- src/gui/interface/SaveButton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/interface/SaveButton.cpp b/src/gui/interface/SaveButton.cpp index ce3314435..30d92bea5 100644 --- a/src/gui/interface/SaveButton.cpp +++ b/src/gui/interface/SaveButton.cpp @@ -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;