mirror of
https://github.com/ppy/osu
synced 2025-02-15 09:37:07 +00:00
Change displayed metric from "KPS" to "clicks/s"
This commit is contained in:
parent
9b252b1d81
commit
e08f71797e
@ -80,13 +80,30 @@ namespace osu.Game.Screens.Play.HUD.KeysPerSecond
|
|||||||
Origin = Anchor.BottomLeft,
|
Origin = Anchor.BottomLeft,
|
||||||
Font = OsuFont.Numeric.With(size: 16, fixedWidth: true)
|
Font = OsuFont.Numeric.With(size: 16, fixedWidth: true)
|
||||||
},
|
},
|
||||||
new OsuSpriteText
|
new FillFlowContainer
|
||||||
{
|
{
|
||||||
Anchor = Anchor.BottomLeft,
|
Anchor = Anchor.BottomLeft,
|
||||||
Origin = Anchor.BottomLeft,
|
Origin = Anchor.BottomLeft,
|
||||||
Font = OsuFont.Numeric.With(size: 8, fixedWidth: true),
|
Direction = FillDirection.Vertical,
|
||||||
Text = @"KPS",
|
AutoSizeAxes = Axes.Both,
|
||||||
Padding = new MarginPadding { Bottom = 1.5f }, // align baseline better
|
Children = new Drawable[]
|
||||||
|
{
|
||||||
|
new OsuSpriteText
|
||||||
|
{
|
||||||
|
Anchor = Anchor.TopLeft,
|
||||||
|
Origin = Anchor.TopLeft,
|
||||||
|
Font = OsuFont.Numeric.With(size: 6, fixedWidth: false),
|
||||||
|
Text = @"clicks",
|
||||||
|
},
|
||||||
|
new OsuSpriteText
|
||||||
|
{
|
||||||
|
Anchor = Anchor.TopLeft,
|
||||||
|
Origin = Anchor.TopLeft,
|
||||||
|
Font = OsuFont.Numeric.With(size: 6, fixedWidth: false),
|
||||||
|
Text = @"/sec",
|
||||||
|
Padding = new MarginPadding { Bottom = 3f }, // align baseline better
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user