mirror of
https://github.com/ppy/osu
synced 2025-04-25 04:18:08 +00: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;
|
Alpha = 1;
|
||||||
else
|
else
|
||||||
Alpha = Interpolation.ValueAt(
|
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);
|
Alpha, MathHelper.Clamp(1 - positionalAdjust, 0.04f, 1), 0, 200, Easing.OutQuint);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user