Fix usages of CircularContainer in line with framework changes.

This commit is contained in:
Dean Herbert 2017-03-22 15:27:22 +09:00
parent 7fba0c4bce
commit fbe08436d2
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49
6 changed files with 10 additions and 0 deletions

View File

@ -29,6 +29,8 @@ public NumberPiece()
{
new CircularContainer
{
Masking = true,
Origin = Anchor.Centre,
EdgeEffect = new EdgeEffect
{
Type = EdgeEffectType.Glow,

View File

@ -61,6 +61,7 @@ private void layout()
{
Colour = Color4.White,
RelativePositionAxes = Axes.Both,
Masking = true,
Origin = Anchor.Centre,
Size = new Vector2(1 / ScreenSpaceDrawQuad.Width * 2000),
Children = new[]

View File

@ -30,6 +30,8 @@ public Nub()
BorderColour = Color4.White;
BorderThickness = border_width;
Masking = true;
Children = new[]
{
fill = new Box

View File

@ -28,6 +28,8 @@ public PasswordMaskChar(float size)
circle = new CircularContainer
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Masking = true,
Alpha = 0,
RelativeSizeAxes = Axes.Both,
Size = new Vector2(0.8f, 0),

View File

@ -193,6 +193,7 @@ public PopupDialog()
{
Origin = Anchor.Centre,
Anchor = Anchor.Centre,
Masking = true,
BorderColour = Color4.White,
BorderThickness = 5f,
Children = new Drawable[]

View File

@ -91,8 +91,10 @@ public OsuLogo()
logoContainer = new CircularContainer
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
RelativeSizeAxes = Axes.Both,
Scale = new Vector2(0.8f),
Masking = true,
Children = new Drawable[]
{
colourAndTriangles = new Container