1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-19 01:17:19 +08:00

CI fixes.

This commit is contained in:
DrabWeb 2017-09-13 18:31:53 -03:00
parent d83cd3ecf9
commit 022e39b843
3 changed files with 3 additions and 5 deletions

View File

@ -60,7 +60,7 @@ namespace osu.Game.Overlays.OnlineBeatmapSet
},
new DetailBox
{
Child = basic = new BasicStats()
Child = basic = new BasicStats
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,

View File

@ -46,9 +46,7 @@ namespace osu.Game.Overlays.OnlineBeatmapSet
title.Text = BeatmapSet.Metadata.Title;
artist.Text = BeatmapSet.Metadata.Artist;
if (cover != null)
cover.FadeOut(400, Easing.Out);
cover?.FadeOut(400, Easing.Out);
coverContainer.Add(cover = new DelayedLoadWrapper(new BeatmapSetCover(BeatmapSet)
{
Anchor = Anchor.Centre,

View File

@ -143,7 +143,7 @@ namespace osu.Game.Overlays.OnlineBeatmapSet
private void loadPreview()
{
if (preview == null || (preview?.HasCompleted ?? true) && BeatmapSet != null)
if (preview == null || preview.HasCompleted && BeatmapSet != null)
{
preview = audio.Track.Get(BeatmapSet.OnlineInfo.Preview);
preview.Volume.Value = 0.5;