mirror of
https://github.com/ppy/osu.git
synced 2024-09-22 06:47:24 +08:00
CI fixes.
This commit is contained in:
parent
109531b66c
commit
55e8bdfb05
@ -83,7 +83,7 @@ namespace osu.Game.Screens.Select
|
||||
{
|
||||
base.UpdateAfterChildren();
|
||||
|
||||
Details.Height = Math.Min(DrawHeight - (details_padding * 3) - BeatmapDetailAreaTabControl.HEIGHT, 450);
|
||||
Details.Height = Math.Min(DrawHeight - details_padding * 3 - BeatmapDetailAreaTabControl.HEIGHT, 450);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -306,7 +306,6 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
private class MetadataSection : Container
|
||||
{
|
||||
private readonly OsuSpriteText title;
|
||||
private readonly TextFlowContainer textFlow;
|
||||
|
||||
public string Text
|
||||
@ -347,7 +346,7 @@ namespace osu.Game.Screens.Select
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
AutoSizeAxes = Axes.Y,
|
||||
Child = this.title = new OsuSpriteText
|
||||
Child = new OsuSpriteText
|
||||
{
|
||||
Text = title,
|
||||
Font = @"Exo2.0-Bold",
|
||||
|
@ -32,12 +32,12 @@ namespace osu.Game.Screens.Select.Details
|
||||
if ((Beatmap?.Ruleset?.ID ?? 0) == 3)
|
||||
{
|
||||
firstValue.Title = "Key Amount";
|
||||
firstValue.Value = (int)Math.Round(Beatmap.Difficulty.CircleSize);
|
||||
firstValue.Value = (int)Math.Round(Beatmap?.Difficulty?.CircleSize ?? 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
firstValue.Title = "Circle Size";
|
||||
firstValue.Value = Beatmap.Difficulty.CircleSize;
|
||||
firstValue.Value = Beatmap?.Difficulty?.CircleSize ?? 0;
|
||||
}
|
||||
|
||||
hpDrain.Value = beatmap.Difficulty.DrainRate;
|
||||
@ -118,7 +118,7 @@ namespace osu.Game.Screens.Select.Details
|
||||
{
|
||||
Width = name_width,
|
||||
AutoSizeAxes = Axes.Y,
|
||||
Child = this.name = new OsuSpriteText
|
||||
Child = name = new OsuSpriteText
|
||||
{
|
||||
TextSize = 13,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user