1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 10:42:54 +08:00

Merge pull request #3735 from peppy/fix-hold-menu-disappearing

Fix hold for menu button occasionally disappearing
This commit is contained in:
Dan Balasescu 2018-11-19 12:24:41 +09:00 committed by GitHub
commit 11b13d1a5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ namespace osu.Game.Screens.Play.HUD
Alpha = 1;
else
Alpha = Interpolation.ValueAt(
MathHelper.Clamp(Clock.ElapsedFrameTime, 0, 1000),
MathHelper.Clamp(Clock.ElapsedFrameTime, 0, 200),
Alpha, MathHelper.Clamp(1 - positionalAdjust, 0.04f, 1), 0, 200, Easing.OutQuint);
}