mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
CI fixes.
This commit is contained in:
@ -83,7 +83,7 @@ namespace osu.Game.Screens.Select
|
|||||||
{
|
{
|
||||||
base.UpdateAfterChildren();
|
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 class MetadataSection : Container
|
||||||
{
|
{
|
||||||
private readonly OsuSpriteText title;
|
|
||||||
private readonly TextFlowContainer textFlow;
|
private readonly TextFlowContainer textFlow;
|
||||||
|
|
||||||
public string Text
|
public string Text
|
||||||
@ -347,7 +346,7 @@ namespace osu.Game.Screens.Select
|
|||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
AutoSizeAxes = Axes.Y,
|
AutoSizeAxes = Axes.Y,
|
||||||
Child = this.title = new OsuSpriteText
|
Child = new OsuSpriteText
|
||||||
{
|
{
|
||||||
Text = title,
|
Text = title,
|
||||||
Font = @"Exo2.0-Bold",
|
Font = @"Exo2.0-Bold",
|
||||||
|
@ -32,12 +32,12 @@ namespace osu.Game.Screens.Select.Details
|
|||||||
if ((Beatmap?.Ruleset?.ID ?? 0) == 3)
|
if ((Beatmap?.Ruleset?.ID ?? 0) == 3)
|
||||||
{
|
{
|
||||||
firstValue.Title = "Key Amount";
|
firstValue.Title = "Key Amount";
|
||||||
firstValue.Value = (int)Math.Round(Beatmap.Difficulty.CircleSize);
|
firstValue.Value = (int)Math.Round(Beatmap?.Difficulty?.CircleSize ?? 0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
firstValue.Title = "Circle Size";
|
firstValue.Title = "Circle Size";
|
||||||
firstValue.Value = Beatmap.Difficulty.CircleSize;
|
firstValue.Value = Beatmap?.Difficulty?.CircleSize ?? 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
hpDrain.Value = beatmap.Difficulty.DrainRate;
|
hpDrain.Value = beatmap.Difficulty.DrainRate;
|
||||||
@ -118,7 +118,7 @@ namespace osu.Game.Screens.Select.Details
|
|||||||
{
|
{
|
||||||
Width = name_width,
|
Width = name_width,
|
||||||
AutoSizeAxes = Axes.Y,
|
AutoSizeAxes = Axes.Y,
|
||||||
Child = this.name = new OsuSpriteText
|
Child = name = new OsuSpriteText
|
||||||
{
|
{
|
||||||
TextSize = 13,
|
TextSize = 13,
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user