Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update async load usage to new style. #582

Merged
merged 4 commits into from
Apr 3, 2017
Merged

Conversation

peppy
Copy link
Sponsor Member

@peppy peppy commented Apr 2, 2017

@@ -14,7 +14,7 @@ protected override void LoadComplete()
{
base.LoadComplete();

new BackgroundScreenDefault { Depth = 10 }.LoadAsync(this, AddInternal);
LoadComponentAsync(new BackgroundScreenDefault { Depth = 10 }, AddInternal);

This comment was marked as off-topic.

This comment was marked as off-topic.

@@ -370,6 +367,9 @@ private void updateDisplay(WorkingBeatmap beatmap, TransformDirection direction)
currentBackground.Expire();
currentBackground = d;
}
})
{
Depth = float.MaxValue,

This comment was marked as off-topic.

@smoogipoo smoogipoo merged commit 0e52bea into ppy:master Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants