mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 19:52:55 +08:00
Remove health line detail
This commit is contained in:
parent
91cf237fc1
commit
1c844a155e
@ -11,7 +11,6 @@ using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Colour;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Lines;
|
||||
using osu.Framework.Graphics.Shapes;
|
||||
using osu.Framework.Layout;
|
||||
using osu.Framework.Threading;
|
||||
using osu.Framework.Utils;
|
||||
@ -101,17 +100,9 @@ namespace osu.Game.Screens.Play.HUD
|
||||
RelativeSizeAxes = Axes.X;
|
||||
AutoSizeAxes = Axes.Y;
|
||||
|
||||
InternalChildren = new[]
|
||||
{
|
||||
new Circle
|
||||
{
|
||||
Position = new Vector2(-4f, main_path_radius - 1.5f),
|
||||
Size = new Vector2(50f, 3f),
|
||||
},
|
||||
new Container
|
||||
InternalChild = new Container
|
||||
{
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Margin = new MarginPadding { Left = 50f },
|
||||
Children = new Drawable[]
|
||||
{
|
||||
background = new BackgroundPath
|
||||
@ -140,7 +131,6 @@ namespace osu.Game.Screens.Play.HUD
|
||||
GlowPortion = 0.6f,
|
||||
},
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -130,8 +130,8 @@ namespace osu.Game.Skinning
|
||||
// elements default to beneath the health bar
|
||||
const float components_x_offset = 50;
|
||||
|
||||
health.Anchor = Anchor.TopLeft;
|
||||
health.Origin = Anchor.TopLeft;
|
||||
health.Anchor = Anchor.TopCentre;
|
||||
health.Origin = Anchor.TopCentre;
|
||||
health.Y = 15;
|
||||
|
||||
if (scoreWedge != null)
|
||||
|
Loading…
Reference in New Issue
Block a user