mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 02:27:19 +08:00
Move shear spec to correct location
This commit is contained in:
parent
e40eaa7377
commit
3da30485b2
@ -141,10 +141,22 @@ namespace osu.Game.Overlays.Mods
|
|||||||
Direction = FillDirection.Horizontal,
|
Direction = FillDirection.Horizontal,
|
||||||
Children = new[]
|
Children = new[]
|
||||||
{
|
{
|
||||||
circleSizeDisplay = new VerticalAttributeDisplay("CS"),
|
circleSizeDisplay = new VerticalAttributeDisplay("CS")
|
||||||
drainRateDisplay = new VerticalAttributeDisplay("HP"),
|
{
|
||||||
approachRateDisplay = new VerticalAttributeDisplay("AR"),
|
Shear = new Vector2(-ShearedOverlayContainer.SHEAR, 0),
|
||||||
overallDifficultyDisplay = new VerticalAttributeDisplay("OD"),
|
},
|
||||||
|
drainRateDisplay = new VerticalAttributeDisplay("HP")
|
||||||
|
{
|
||||||
|
Shear = new Vector2(-ShearedOverlayContainer.SHEAR, 0),
|
||||||
|
},
|
||||||
|
approachRateDisplay = new VerticalAttributeDisplay("AR")
|
||||||
|
{
|
||||||
|
Shear = new Vector2(-ShearedOverlayContainer.SHEAR, 0),
|
||||||
|
},
|
||||||
|
overallDifficultyDisplay = new VerticalAttributeDisplay("OD")
|
||||||
|
{
|
||||||
|
Shear = new Vector2(-ShearedOverlayContainer.SHEAR, 0),
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,6 @@ using osu.Framework.Localisation;
|
|||||||
using osu.Game.Graphics;
|
using osu.Game.Graphics;
|
||||||
using osu.Game.Graphics.Sprites;
|
using osu.Game.Graphics.Sprites;
|
||||||
using osu.Game.Graphics.UserInterface;
|
using osu.Game.Graphics.UserInterface;
|
||||||
using osuTK;
|
|
||||||
|
|
||||||
namespace osu.Game.Overlays.Mods
|
namespace osu.Game.Overlays.Mods
|
||||||
{
|
{
|
||||||
@ -32,9 +31,12 @@ namespace osu.Game.Overlays.Mods
|
|||||||
public VerticalAttributeDisplay(LocalisableString label)
|
public VerticalAttributeDisplay(LocalisableString label)
|
||||||
{
|
{
|
||||||
Label = label;
|
Label = label;
|
||||||
|
|
||||||
AutoSizeAxes = Axes.X;
|
AutoSizeAxes = Axes.X;
|
||||||
Origin = Anchor = Anchor.CentreLeft;
|
|
||||||
Shear = new Vector2(-ShearedOverlayContainer.SHEAR, 0);
|
Origin = Anchor.CentreLeft;
|
||||||
|
Anchor = Anchor.CentreLeft;
|
||||||
|
|
||||||
InternalChild = new FillFlowContainer
|
InternalChild = new FillFlowContainer
|
||||||
{
|
{
|
||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user