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:
parent
f4b23f0960
commit
fe83b8fc77
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user