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:
commit
11b13d1a5f
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user