mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 22:06:08 +08:00
Merge branch 'master' into controls
This commit is contained in:
commit
6a4ca08578
@ -1 +1 @@
|
|||||||
Subproject commit 405537bd351954878ddc1d2ba53e5d0563528446
|
Subproject commit 31cf1c4b58c866d047876b15a95a4cf0115d3105
|
@ -111,8 +111,6 @@ namespace osu.Game.Modes.Osu.Objects.Drawables
|
|||||||
|
|
||||||
protected override void UpdateState(ArmedState state)
|
protected override void UpdateState(ArmedState state)
|
||||||
{
|
{
|
||||||
if (!IsLoaded) return;
|
|
||||||
|
|
||||||
base.UpdateState(state);
|
base.UpdateState(state);
|
||||||
|
|
||||||
ApproachCircle.FadeOut();
|
ApproachCircle.FadeOut();
|
||||||
|
@ -22,8 +22,6 @@ namespace osu.Game.Modes.Osu.Objects.Drawables
|
|||||||
|
|
||||||
protected override void UpdateState(ArmedState state)
|
protected override void UpdateState(ArmedState state)
|
||||||
{
|
{
|
||||||
if (!IsLoaded) return;
|
|
||||||
|
|
||||||
Flush();
|
Flush();
|
||||||
|
|
||||||
UpdateInitialState();
|
UpdateInitialState();
|
||||||
|
@ -158,8 +158,6 @@ namespace osu.Game.Modes.Osu.Objects.Drawables
|
|||||||
|
|
||||||
protected override void UpdateState(ArmedState state)
|
protected override void UpdateState(ArmedState state)
|
||||||
{
|
{
|
||||||
if (!IsLoaded) return;
|
|
||||||
|
|
||||||
base.UpdateState(state);
|
base.UpdateState(state);
|
||||||
|
|
||||||
ball.FadeIn();
|
ball.FadeIn();
|
||||||
|
@ -95,8 +95,6 @@ namespace osu.Game.Modes.Osu.Objects.Drawables
|
|||||||
|
|
||||||
protected override void UpdateState(ArmedState state)
|
protected override void UpdateState(ArmedState state)
|
||||||
{
|
{
|
||||||
if (!IsLoaded) return;
|
|
||||||
|
|
||||||
base.UpdateState(state);
|
base.UpdateState(state);
|
||||||
|
|
||||||
switch (state)
|
switch (state)
|
||||||
|
@ -134,8 +134,6 @@ namespace osu.Game.Modes.Osu.Objects.Drawables
|
|||||||
|
|
||||||
protected override void UpdateState(ArmedState state)
|
protected override void UpdateState(ArmedState state)
|
||||||
{
|
{
|
||||||
if (!IsLoaded) return;
|
|
||||||
|
|
||||||
base.UpdateState(state);
|
base.UpdateState(state);
|
||||||
|
|
||||||
Delay(spinner.Duration, true);
|
Delay(spinner.Duration, true);
|
||||||
|
@ -29,6 +29,8 @@ namespace osu.Game.Modes.Osu.Objects.Drawables.Pieces
|
|||||||
{
|
{
|
||||||
new CircularContainer
|
new CircularContainer
|
||||||
{
|
{
|
||||||
|
Masking = true,
|
||||||
|
Origin = Anchor.Centre,
|
||||||
EdgeEffect = new EdgeEffect
|
EdgeEffect = new EdgeEffect
|
||||||
{
|
{
|
||||||
Type = EdgeEffectType.Glow,
|
Type = EdgeEffectType.Glow,
|
||||||
|
@ -33,6 +33,7 @@ namespace osu.Game.Modes.Osu.Objects.Drawables.Pieces
|
|||||||
private void load(OsuColour colours)
|
private void load(OsuColour colours)
|
||||||
{
|
{
|
||||||
completeColour = colours.YellowLight.Opacity(0.8f);
|
completeColour = colours.YellowLight.Opacity(0.8f);
|
||||||
|
Masking = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private class SpinnerBorder : Container
|
private class SpinnerBorder : Container
|
||||||
@ -61,6 +62,7 @@ namespace osu.Game.Modes.Osu.Objects.Drawables.Pieces
|
|||||||
{
|
{
|
||||||
Colour = Color4.White,
|
Colour = Color4.White,
|
||||||
RelativePositionAxes = Axes.Both,
|
RelativePositionAxes = Axes.Both,
|
||||||
|
Masking = true,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Size = new Vector2(1 / ScreenSpaceDrawQuad.Width * 2000),
|
Size = new Vector2(1 / ScreenSpaceDrawQuad.Width * 2000),
|
||||||
Children = new[]
|
Children = new[]
|
||||||
|
@ -30,6 +30,8 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
BorderColour = Color4.White;
|
BorderColour = Color4.White;
|
||||||
BorderThickness = border_width;
|
BorderThickness = border_width;
|
||||||
|
|
||||||
|
Masking = true;
|
||||||
|
|
||||||
Children = new[]
|
Children = new[]
|
||||||
{
|
{
|
||||||
fill = new Box
|
fill = new Box
|
||||||
|
@ -28,6 +28,8 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
circle = new CircularContainer
|
circle = new CircularContainer
|
||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
|
Origin = Anchor.Centre,
|
||||||
|
Masking = true,
|
||||||
Alpha = 0,
|
Alpha = 0,
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Size = new Vector2(0.8f, 0),
|
Size = new Vector2(0.8f, 0),
|
||||||
|
@ -38,6 +38,9 @@ namespace osu.Game.Modes.Objects.Drawables
|
|||||||
return;
|
return;
|
||||||
state = value;
|
state = value;
|
||||||
|
|
||||||
|
if (!IsLoaded)
|
||||||
|
return;
|
||||||
|
|
||||||
UpdateState(state);
|
UpdateState(state);
|
||||||
|
|
||||||
if (State == ArmedState.Hit)
|
if (State == ArmedState.Hit)
|
||||||
|
@ -193,6 +193,7 @@ namespace osu.Game.Overlays.Dialog
|
|||||||
{
|
{
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
|
Masking = true,
|
||||||
BorderColour = Color4.White,
|
BorderColour = Color4.White,
|
||||||
BorderThickness = 5f,
|
BorderThickness = 5f,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
|
@ -91,8 +91,10 @@ namespace osu.Game.Screens.Menu
|
|||||||
logoContainer = new CircularContainer
|
logoContainer = new CircularContainer
|
||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
|
Origin = Anchor.Centre,
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Scale = new Vector2(0.8f),
|
Scale = new Vector2(0.8f),
|
||||||
|
Masking = true,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
colourAndTriangles = new Container
|
colourAndTriangles = new Container
|
||||||
|
Loading…
Reference in New Issue
Block a user