mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:52:53 +08:00
Container->Wrapper.
This commit is contained in:
parent
6f1fff4ee7
commit
bfa2e68bfb
@ -33,7 +33,7 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new DelayedLoadContainer(
|
||||
new DelayedLoadWrapper(
|
||||
new PanelBackground(beatmap)
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
|
@ -347,7 +347,7 @@ namespace osu.Game.Overlays
|
||||
}
|
||||
});
|
||||
|
||||
dragContainer.Add(new AsyncLoadContainer(new MusicControllerBackground(beatmap)
|
||||
dragContainer.Add(new AsyncLoadWrapper(new MusicControllerBackground(beatmap)
|
||||
{
|
||||
OnLoadComplete = d =>
|
||||
{
|
||||
|
@ -105,7 +105,7 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
AlwaysPresent = true;
|
||||
|
||||
Add(beatmapInfoContainer = new AsyncLoadContainer(
|
||||
Add(beatmapInfoContainer = new AsyncLoadWrapper(
|
||||
new BufferedContainer
|
||||
{
|
||||
OnLoadComplete = d =>
|
||||
|
@ -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,
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user