mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 17:37:23 +09: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;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
private double opacity(double ms, double preemptTime, bool hidden) {
|
private double opacity(double ms, double preemptTime, bool hidden)
|
||||||
|
{
|
||||||
if (hidden)
|
if (hidden)
|
||||||
return Math.Clamp(Math.Min((1 - ms / preemptTime) * 2.5, (ms / preemptTime) * (1.0 / 0.3)), 0.0, 1.0);
|
return Math.Clamp(Math.Min((1 - ms / preemptTime) * 2.5, (ms / preemptTime) * (1.0 / 0.3)), 0.0, 1.0);
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user