mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:35:35 +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)
|
||||
requestDisplay();
|
||||
else if (isDisplayed && Time.Current - lastDisplayRequiredTime > 2000)
|
||||
else if (isDisplayed && Time.Current - lastDisplayRequiredTime > 2000 && !IsHovered)
|
||||
{
|
||||
mainContent.FadeTo(0, 300, Easing.OutQuint);
|
||||
isDisplayed = false;
|
||||
|
Loading…
Reference in New Issue
Block a user