Add logging

This commit is contained in:
Dean Herbert
2020-10-13 13:11:47 +09:00
parent 9814e9ba7f
commit b92c22ad42
2 changed files with 7 additions and 0 deletions

View File

@ -11,6 +11,7 @@ using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Primitives;
using osu.Framework.Graphics.UserInterface;
using osu.Framework.Localisation;
using osu.Framework.Logging;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.Drawables;
using osu.Game.Collections;
@ -86,10 +87,12 @@ namespace osu.Game.Screens.Select.Carousel
if (Item == null)
return;
Logger.Log($"updating item {beatmapSet}");
Content.Children = new Drawable[]
{
new DelayedLoadUnloadWrapper(() =>
{
Logger.Log($"loaded background item {beatmapSet}");
var background = new PanelBackground(manager.GetWorkingBeatmap(beatmapSet.Beatmaps.FirstOrDefault()))
{
RelativeSizeAxes = Axes.Both,