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

Add line break

This commit is contained in:
MBmasher 2021-11-18 10:50:32 +11:00
parent f4b23f0960
commit fe83b8fc77

View File

@ -87,7 +87,8 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
return result;
}
private double opacity(double ms, double preemptTime, bool hidden) {
private double opacity(double ms, double preemptTime, bool hidden)
{
if (hidden)
return Math.Clamp(Math.Min((1 - ms / preemptTime) * 2.5, (ms / preemptTime) * (1.0 / 0.3)), 0.0, 1.0);
else