mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 16:52:54 +08:00
Fix FPS counter disappearing when hovered over
This commit is contained in:
parent
0e232d3926
commit
68e7000620
@ -203,7 +203,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
|
|
||||||
if (hasSignificantChanges)
|
if (hasSignificantChanges)
|
||||||
requestDisplay();
|
requestDisplay();
|
||||||
else if (isDisplayed && Time.Current - lastDisplayRequiredTime > 2000)
|
else if (isDisplayed && Time.Current - lastDisplayRequiredTime > 2000 && !IsHovered)
|
||||||
{
|
{
|
||||||
mainContent.FadeTo(0, 300, Easing.OutQuint);
|
mainContent.FadeTo(0, 300, Easing.OutQuint);
|
||||||
isDisplayed = false;
|
isDisplayed = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user