1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:52:53 +08:00

Container->Wrapper.

This commit is contained in:
Dean Herbert 2017-04-02 16:17:13 +09:00
parent 6f1fff4ee7
commit bfa2e68bfb
5 changed files with 5 additions and 5 deletions

View File

@ -33,7 +33,7 @@ namespace osu.Game.Beatmaps.Drawables
Children = new Drawable[]
{
new DelayedLoadContainer(
new DelayedLoadWrapper(
new PanelBackground(beatmap)
{
RelativeSizeAxes = Axes.Both,

View File

@ -347,7 +347,7 @@ namespace osu.Game.Overlays
}
});
dragContainer.Add(new AsyncLoadContainer(new MusicControllerBackground(beatmap)
dragContainer.Add(new AsyncLoadWrapper(new MusicControllerBackground(beatmap)
{
OnLoadComplete = d =>
{

View File

@ -105,7 +105,7 @@ namespace osu.Game.Screens.Select
AlwaysPresent = true;
Add(beatmapInfoContainer = new AsyncLoadContainer(
Add(beatmapInfoContainer = new AsyncLoadWrapper(
new BufferedContainer
{
OnLoadComplete = d =>

View File

@ -141,7 +141,7 @@ namespace osu.Game.Screens.Select.Leaderboards
Padding = new MarginPadding(edge_margin),
Children = new Drawable[]
{
avatar = new DelayedLoadContainer(
avatar = new DelayedLoadWrapper(
new Avatar(Score.User ?? new User { Id = Score.UserID })
{
RelativeSizeAxes = Axes.Both,

View File

@ -40,7 +40,7 @@ namespace osu.Game.Users
{
displayedAvatar?.FadeOut(300);
displayedAvatar?.Expire();
Add(displayedAvatar = new AsyncLoadContainer(new Avatar(user)
Add(displayedAvatar = new AsyncLoadWrapper(new Avatar(user)
{
RelativeSizeAxes = Axes.Both,
OnLoadComplete = d => d.FadeInFromZero(200),