Attach an inline comment explaining how the value was reached

This commit is contained in:
Salman Ahmed 2020-09-03 06:09:52 +03:00
parent e7eaaf8b02
commit 5180d71fd9
1 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,9 @@ private class LegacyDrawableSliderPath : DrawableSliderPath
{
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);