mirror of https://github.com/ppy/osu
Move shear spec to correct location
This commit is contained in:
parent
e40eaa7377
commit
3da30485b2
|
@ -141,10 +141,22 @@ private void load()
|
|||
Direction = FillDirection.Horizontal,
|
||||
Children = new[]
|
||||
{
|
||||
circleSizeDisplay = new VerticalAttributeDisplay("CS"),
|
||||
drainRateDisplay = new VerticalAttributeDisplay("HP"),
|
||||
approachRateDisplay = new VerticalAttributeDisplay("AR"),
|
||||
overallDifficultyDisplay = new VerticalAttributeDisplay("OD"),
|
||||
circleSizeDisplay = new VerticalAttributeDisplay("CS")
|
||||
{
|
||||
Shear = new Vector2(-ShearedOverlayContainer.SHEAR, 0),
|
||||
},
|
||||
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.Game.Graphics;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osuTK;
|
||||
|
||||
namespace osu.Game.Overlays.Mods
|
||||
{
|
||||
|
@ -32,9 +31,12 @@ public Bindable<double> Current
|
|||
public VerticalAttributeDisplay(LocalisableString label)
|
||||
{
|
||||
Label = label;
|
||||
|
||||
AutoSizeAxes = Axes.X;
|
||||
Origin = Anchor = Anchor.CentreLeft;
|
||||
Shear = new Vector2(-ShearedOverlayContainer.SHEAR, 0);
|
||||
|
||||
Origin = Anchor.CentreLeft;
|
||||
Anchor = Anchor.CentreLeft;
|
||||
|
||||
InternalChild = new FillFlowContainer
|
||||
{
|
||||
Origin = Anchor.CentreLeft,
|
||||
|
|
Loading…
Reference in New Issue