1
0
mirror of https://github.com/ppy/osu synced 2025-03-21 02:17:48 +00: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 },
{ },
Origin = Anchor.Centre, new Circle
Anchor = Anchor.Centre, {
RelativeSizeAxes = Axes.Both, Origin = Anchor.Centre,
Scale = new Vector2(0.1f), Anchor = Anchor.Centre,
Masking = true, RelativeSizeAxes = Axes.Both,
Children = new Drawable[] Scale = new Vector2(0.14f),
{ Colour = new Color4(34, 93, 204, 255),
new Box EdgeEffect = new EdgeEffectParameters
{ {
RelativeSizeAxes = Axes.Both, Type = EdgeEffectType.Glow,
Colour = Color4.White, Radius = 8,
}, Colour = Color4.White,
}, },
}, },
}
}
}; };
} }
} }