mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:20:04 +08:00
Attach an inline comment explaining how the value was reached
This commit is contained in:
parent
e7eaaf8b02
commit
5180d71fd9
@ -18,7 +18,9 @@ namespace osu.Game.Rulesets.Osu.Skinning
|
||||
{
|
||||
private const float shadow_portion = 1 - (OsuLegacySkinTransformer.LEGACY_CIRCLE_RADIUS / OsuHitObject.OBJECT_RADIUS);
|
||||
|
||||
protected new float CalculatedBorderPortion => base.CalculatedBorderPortion * 0.77f;
|
||||
protected new float CalculatedBorderPortion
|
||||
// Roughly matches osu!stable's slider border portions.
|
||||
=> base.CalculatedBorderPortion * 0.77f;
|
||||
|
||||
public new Color4 AccentColour => new Color4(base.AccentColour.R, base.AccentColour.G, base.AccentColour.B, base.AccentColour.A * 0.70f);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user