Fix 1x1 white pixel appearing in the centre of hitcircles on default skin

This commit is contained in:
Dean Herbert 2019-10-29 22:31:27 +09:00
parent e1d0d78858
commit e9cb3337b3
1 changed files with 1 additions and 4 deletions

View File

@ -7,7 +7,6 @@
using osu.Framework.Graphics.Effects;
using osu.Game.Graphics.Sprites;
using osuTK.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics;
using osu.Game.Skinning;
@ -30,17 +29,15 @@ public NumberPiece()
Children = new Drawable[]
{
new CircularContainer
new Container
{
Masking = true,
Origin = Anchor.Centre,
EdgeEffect = new EdgeEffectParameters
{
Type = EdgeEffectType.Glow,
Radius = 60,
Colour = Color4.White.Opacity(0.5f),
},
Child = new Box()
},
number = new SkinnableSpriteText(new OsuSkinComponent(OsuSkinComponents.HitCircleText), _ => new OsuSpriteText
{