mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 16:37:26 +08:00
Apply suggested styling changes
This commit is contained in:
parent
5945c088cb
commit
a16b265090
@ -219,7 +219,7 @@ namespace osu.Game.Rulesets.Catch.UI
|
|||||||
|
|
||||||
if (hitLighting.Value)
|
if (hitLighting.Value)
|
||||||
{
|
{
|
||||||
var hitExplosion = hitExplosionPool.Get();
|
HitExplosion hitExplosion = hitExplosionPool.Get();
|
||||||
hitExplosion.X = fruit.X;
|
hitExplosion.X = fruit.X;
|
||||||
hitExplosion.Scale = new Vector2(fruit.HitObject.Scale);
|
hitExplosion.Scale = new Vector2(fruit.HitObject.Scale);
|
||||||
hitExplosion.ObjectColour = fruit.AccentColour.Value;
|
hitExplosion.ObjectColour = fruit.AccentColour.Value;
|
||||||
|
@ -121,15 +121,7 @@ namespace osu.Game.Rulesets.Catch.UI
|
|||||||
Radius = 50,
|
Radius = 50,
|
||||||
};
|
};
|
||||||
|
|
||||||
directionalGlow1.EdgeEffect = new EdgeEffectParameters
|
directionalGlow1.EdgeEffect = directionalGlow2.EdgeEffect = new EdgeEffectParameters
|
||||||
{
|
|
||||||
Type = EdgeEffectType.Glow,
|
|
||||||
Colour = Interpolation.ValueAt(0.4f, objectColour, Color4.White, 0, 1),
|
|
||||||
Roundness = roundness,
|
|
||||||
Radius = 40,
|
|
||||||
};
|
|
||||||
|
|
||||||
directionalGlow2.EdgeEffect = new EdgeEffectParameters
|
|
||||||
{
|
{
|
||||||
Type = EdgeEffectType.Glow,
|
Type = EdgeEffectType.Glow,
|
||||||
Colour = Interpolation.ValueAt(0.4f, objectColour, Color4.White, 0, 1),
|
Colour = Interpolation.ValueAt(0.4f, objectColour, Color4.White, 0, 1),
|
||||||
|
Loading…
Reference in New Issue
Block a user