mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 16:32:54 +08:00
Show loadingLayer
before calling CreateRoom
This fixes `TestScenePlaylistsMatchSettingsOverlay` incorrectly leaving the loading layer visible.
This commit is contained in:
parent
aa188d5a52
commit
e78c5d0858
@ -339,9 +339,8 @@ namespace osu.Game.Screens.OnlinePlay.Playlists
|
|||||||
|
|
||||||
Duration.Value = DurationField.Current.Value;
|
Duration.Value = DurationField.Current.Value;
|
||||||
|
|
||||||
manager?.CreateRoom(room, onSuccess, onError);
|
|
||||||
|
|
||||||
loadingLayer.Show();
|
loadingLayer.Show();
|
||||||
|
manager?.CreateRoom(room, onSuccess, onError);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void hideError() => ErrorText.FadeOut(50);
|
private void hideError() => ErrorText.FadeOut(50);
|
||||||
|
Loading…
Reference in New Issue
Block a user