mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Formatting fixes
This commit is contained in:
@ -22,6 +22,7 @@ namespace osu.Game.Screens.Multi.Components
|
|||||||
}
|
}
|
||||||
|
|
||||||
private BeatmapInfo beatmap;
|
private BeatmapInfo beatmap;
|
||||||
|
|
||||||
public BeatmapInfo Beatmap
|
public BeatmapInfo Beatmap
|
||||||
{
|
{
|
||||||
set
|
set
|
||||||
@ -41,18 +42,9 @@ namespace osu.Game.Screens.Multi.Components
|
|||||||
|
|
||||||
Children = new[]
|
Children = new[]
|
||||||
{
|
{
|
||||||
beatmapTitle = new OsuSpriteText
|
beatmapTitle = new OsuSpriteText { Font = @"Exo2.0-BoldItalic", },
|
||||||
{
|
beatmapDash = new OsuSpriteText { Font = @"Exo2.0-BoldItalic", },
|
||||||
Font = @"Exo2.0-BoldItalic",
|
beatmapArtist = new OsuSpriteText { Font = @"Exo2.0-RegularItalic", },
|
||||||
},
|
|
||||||
beatmapDash = new OsuSpriteText
|
|
||||||
{
|
|
||||||
Font = @"Exo2.0-BoldItalic",
|
|
||||||
},
|
|
||||||
beatmapArtist = new OsuSpriteText
|
|
||||||
{
|
|
||||||
Font = @"Exo2.0-RegularItalic",
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -65,7 +57,6 @@ namespace osu.Game.Screens.Multi.Components
|
|||||||
protected override void LoadComplete()
|
protected override void LoadComplete()
|
||||||
{
|
{
|
||||||
base.LoadComplete();
|
base.LoadComplete();
|
||||||
|
|
||||||
updateText();
|
updateText();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -74,7 +65,6 @@ namespace osu.Game.Screens.Multi.Components
|
|||||||
if (beatmap == null)
|
if (beatmap == null)
|
||||||
{
|
{
|
||||||
beatmapTitle.Current = beatmapArtist.Current = null;
|
beatmapTitle.Current = beatmapArtist.Current = null;
|
||||||
|
|
||||||
beatmapTitle.Text = "Changing map";
|
beatmapTitle.Text = "Changing map";
|
||||||
beatmapDash.Text = beatmapArtist.Text = string.Empty;
|
beatmapDash.Text = beatmapArtist.Text = string.Empty;
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ namespace osu.Game.Screens.Multi.Components
|
|||||||
|
|
||||||
public int Count
|
public int Count
|
||||||
{
|
{
|
||||||
set { count.Text = value.ToString(); }
|
set => count.Text = value.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int? Max
|
public int? Max
|
||||||
@ -31,8 +31,8 @@ namespace osu.Game.Screens.Multi.Components
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
slash.FadeIn(transition_duration);
|
slash.FadeIn(transition_duration);
|
||||||
max.FadeIn(transition_duration);
|
|
||||||
max.Text = value.ToString();
|
max.Text = value.ToString();
|
||||||
|
max.FadeIn(transition_duration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user