1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:37:28 +08:00

Apply suggested styling changes

This commit is contained in:
ekrctb 2020-12-01 14:46:04 +09:00
parent 5945c088cb
commit a16b265090
2 changed files with 2 additions and 10 deletions

View File

@ -219,7 +219,7 @@ namespace osu.Game.Rulesets.Catch.UI
if (hitLighting.Value)
{
var hitExplosion = hitExplosionPool.Get();
HitExplosion hitExplosion = hitExplosionPool.Get();
hitExplosion.X = fruit.X;
hitExplosion.Scale = new Vector2(fruit.HitObject.Scale);
hitExplosion.ObjectColour = fruit.AccentColour.Value;

View File

@ -121,15 +121,7 @@ namespace osu.Game.Rulesets.Catch.UI
Radius = 50,
};
directionalGlow1.EdgeEffect = new EdgeEffectParameters
{
Type = EdgeEffectType.Glow,
Colour = Interpolation.ValueAt(0.4f, objectColour, Color4.White, 0, 1),
Roundness = roundness,
Radius = 40,
};
directionalGlow2.EdgeEffect = new EdgeEffectParameters
directionalGlow1.EdgeEffect = directionalGlow2.EdgeEffect = new EdgeEffectParameters
{
Type = EdgeEffectType.Glow,
Colour = Interpolation.ValueAt(0.4f, objectColour, Color4.White, 0, 1),