mirror of
https://github.com/ppy/osu.git
synced 2025-03-19 01:17:19 +08:00
CI fixes.
This commit is contained in:
parent
d83cd3ecf9
commit
022e39b843
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user