Adjust metrics of AccuracyHeatmap

This commit is contained in:
Dean Herbert 2023-07-07 18:16:55 +09:00
parent f223fd7c3b
commit 4f089eb5a5

View File

@ -11,6 +11,7 @@ using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes; using osu.Framework.Graphics.Shapes;
using osu.Framework.Utils; using osu.Framework.Utils;
using osu.Game.Beatmaps; using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites; using osu.Game.Graphics.Sprites;
using osu.Game.Rulesets.Osu.Objects; using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Scoring; using osu.Game.Scoring;
@ -120,18 +121,22 @@ namespace osu.Game.Rulesets.Osu.Statistics
new OsuSpriteText new OsuSpriteText
{ {
Text = "Overshoot", Text = "Overshoot",
Font = OsuFont.GetFont(size: 12),
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.BottomCentre, Origin = Anchor.BottomLeft,
Padding = new MarginPadding(3), Padding = new MarginPadding(2),
Rotation = -rotation,
RelativePositionAxes = Axes.Both, RelativePositionAxes = Axes.Both,
Y = -(inner_portion + line_extension) / 2, Y = -(inner_portion + line_extension) / 2,
}, },
new OsuSpriteText new OsuSpriteText
{ {
Text = "Undershoot", Text = "Undershoot",
Font = OsuFont.GetFont(size: 12),
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.TopCentre, Origin = Anchor.TopRight,
Padding = new MarginPadding(3), Rotation = -rotation,
Padding = new MarginPadding(2),
RelativePositionAxes = Axes.Both, RelativePositionAxes = Axes.Both,
Y = (inner_portion + line_extension) / 2, Y = (inner_portion + line_extension) / 2,
}, },