1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 08:39:53 +08:00

Update in line with framework.

This commit is contained in:
smoogipooo
2017-06-12 12:48:47 +09:00
Unverified
parent df899d3de3
commit ffbb46f668
44 changed files with 63 additions and 56 deletions
@@ -79,18 +79,21 @@ namespace osu.Game.Graphics.UserInterface
Width = 0.4f,
Children = new Drawable[]
{
new Container {
new Container
{
RelativeSizeAxes = Axes.Both,
Shear = new Vector2(shear, 0),
Masking = true,
MaskingSmoothness = 2,
EdgeEffect = new EdgeEffect {
EdgeEffect = new EdgeEffectParameters
{
Type = EdgeEffectType.Shadow,
Colour = Color4.Black.Opacity(0.2f),
Offset = new Vector2(2, 0),
Radius = 2,
},
Children = new[] {
Children = new[]
{
IconLayer = new Box
{
RelativeSizeAxes = Axes.Both,
@@ -113,18 +116,21 @@ namespace osu.Game.Graphics.UserInterface
Width = 0.6f,
Children = new Drawable[]
{
new Container {
new Container
{
RelativeSizeAxes = Axes.Both,
Shear = new Vector2(shear, 0),
Masking = true,
MaskingSmoothness = 2,
EdgeEffect = new EdgeEffect {
EdgeEffect = new EdgeEffectParameters
{
Type = EdgeEffectType.Shadow,
Colour = Color4.Black.Opacity(0.2f),
Offset = new Vector2(2, 0),
Radius = 2,
},
Children = new[] {
Children = new[]
{
TextLayer = new Box
{
Origin = Anchor.TopLeft,