mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Add simple download progress display to download buttons on playlist items
This commit is contained in:
@ -27,7 +27,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
{
|
{
|
||||||
Children = new Drawable[]
|
AddRange(new Drawable[]
|
||||||
{
|
{
|
||||||
Background = new Box
|
Background = new Box
|
||||||
{
|
{
|
||||||
@ -42,7 +42,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
Size = new Vector2(13),
|
Size = new Vector2(13),
|
||||||
Icon = icon,
|
Icon = icon,
|
||||||
},
|
},
|
||||||
};
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -37,6 +37,13 @@ namespace osu.Game.Overlays.BeatmapListing.Panels
|
|||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
button.Add(new DownloadProgressBar(beatmapSet)
|
||||||
|
{
|
||||||
|
Anchor = Anchor.BottomLeft,
|
||||||
|
Origin = Anchor.BottomLeft,
|
||||||
|
Depth = -1,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void LoadComplete()
|
protected override void LoadComplete()
|
||||||
|
Reference in New Issue
Block a user