mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 21:07:18 +09: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);
|
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);
|
public new Color4 AccentColour => new Color4(base.AccentColour.R, base.AccentColour.G, base.AccentColour.B, base.AccentColour.A * 0.70f);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user