Rename class to BeatmapAvailability

This commit is contained in:
Dean Herbert
2019-06-27 11:40:22 +09:00
parent 9ada4d68b1
commit 322d92d3e0
5 changed files with 12 additions and 11 deletions

View File

@ -12,7 +12,7 @@ using osuTK.Graphics;
namespace osu.Game.Overlays.BeatmapSet
{
public class BeatmapNotAvailable : Container
public class BeatmapAvailability : Container
{
private BeatmapSetInfo beatmapSet;
@ -43,7 +43,7 @@ namespace osu.Game.Overlays.BeatmapSet
private readonly TextFlowContainer textContainer;
private readonly LinkFlowContainer linkContainer;
public BeatmapNotAvailable()
public BeatmapAvailability()
{
RelativeSizeAxes = Axes.X;
AutoSizeAxes = Axes.Y;

View File

@ -31,7 +31,7 @@ namespace osu.Game.Overlays.BeatmapSet
private readonly UpdateableBeatmapSetCover cover;
private readonly OsuSpriteText title, artist;
private readonly AuthorInfo author;
private readonly BeatmapNotAvailable beatmapNotAvailable;
private readonly BeatmapAvailability beatmapAvailability;
private readonly BeatmapSetOnlineStatusPill onlineStatusPill;
public Details Details;
@ -150,7 +150,7 @@ namespace osu.Game.Overlays.BeatmapSet
Margin = new MarginPadding { Top = 20 },
Child = author = new AuthorInfo(),
},
beatmapNotAvailable = new BeatmapNotAvailable(),
beatmapAvailability = new BeatmapAvailability(),
new Container
{
RelativeSizeAxes = Axes.X,
@ -216,7 +216,7 @@ namespace osu.Game.Overlays.BeatmapSet
BeatmapSet.BindValueChanged(setInfo =>
{
Picker.BeatmapSet = author.BeatmapSet = beatmapNotAvailable.BeatmapSet = Details.BeatmapSet = setInfo.NewValue;
Picker.BeatmapSet = author.BeatmapSet = beatmapAvailability.BeatmapSet = Details.BeatmapSet = setInfo.NewValue;
cover.BeatmapSet = setInfo.NewValue;
if (setInfo.NewValue == null)