mirror of
https://github.com/ppy/osu.git
synced 2025-03-22 13:17:45 +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,
|
||||
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.Framework.Localisation;
|
||||
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 @@ namespace osu.Game.Overlays.Mods
|
||||
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…
x
Reference in New Issue
Block a user