mirror of
https://github.com/osukey/osukey.git
synced 2025-06-29 23:28:00 +09:00
attempt to comply with appveyor
This commit is contained in:
parent
4e081fe1fc
commit
cf51c8aa31
@ -297,9 +297,9 @@ namespace osu.Game.Screens.Play
|
|||||||
private readonly WorkingBeatmap beatmap;
|
private readonly WorkingBeatmap beatmap;
|
||||||
private LoadingAnimation loading;
|
private LoadingAnimation loading;
|
||||||
private Sprite backgroundSprite;
|
private Sprite backgroundSprite;
|
||||||
private ModDisplay ModDisplay;
|
private ModDisplay modDisplay;
|
||||||
|
|
||||||
protected virtual ModDisplay CreateModsContainer() => new ModDisplay
|
protected ModDisplay CreateModsContainer() => new ModDisplay
|
||||||
{
|
{
|
||||||
Anchor = Anchor.TopCentre,
|
Anchor = Anchor.TopCentre,
|
||||||
Origin = Anchor.TopCentre,
|
Origin = Anchor.TopCentre,
|
||||||
@ -333,8 +333,9 @@ namespace osu.Game.Screens.Play
|
|||||||
private void load()
|
private void load()
|
||||||
{
|
{
|
||||||
var metadata = beatmap?.BeatmapInfo?.Metadata ?? new BeatmapMetadata();
|
var metadata = beatmap?.BeatmapInfo?.Metadata ?? new BeatmapMetadata();
|
||||||
ModDisplay = CreateModsContainer();
|
modDisplay = CreateModsContainer();
|
||||||
ModDisplay.Current.BindTo(beatmap.Mods);
|
|
||||||
|
modDisplay.Current.BindTo(beatmap?.Mods);
|
||||||
|
|
||||||
AutoSizeAxes = Axes.Both;
|
AutoSizeAxes = Axes.Both;
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
@ -403,7 +404,7 @@ namespace osu.Game.Screens.Play
|
|||||||
Origin = Anchor.TopCentre,
|
Origin = Anchor.TopCentre,
|
||||||
Anchor = Anchor.TopCentre,
|
Anchor = Anchor.TopCentre,
|
||||||
},
|
},
|
||||||
ModDisplay
|
modDisplay
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user