1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 03:22:55 +08:00

Make cursor centre portion non-expanding and more visible with outline

This commit is contained in:
Dean Herbert 2020-07-10 14:44:20 +09:00
parent e211ba5e7d
commit a21c2422c5

View File

@ -115,24 +115,22 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor
}, },
}, },
}, },
new CircularContainer },
},
new Circle
{ {
Origin = Anchor.Centre, Origin = Anchor.Centre,
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Scale = new Vector2(0.1f), Scale = new Vector2(0.14f),
Masking = true, Colour = new Color4(34, 93, 204, 255),
Children = new Drawable[] EdgeEffect = new EdgeEffectParameters
{ {
new Box Type = EdgeEffectType.Glow,
{ Radius = 8,
RelativeSizeAxes = Axes.Both,
Colour = Color4.White, Colour = Color4.White,
}, },
}, },
},
}
}
}; };
} }
} }