mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Finding peace with the UI thread.
There is the issue that in some cases that the ui thread blocked.
This commit is contained in:
@ -55,15 +55,11 @@ namespace osu.Game.Overlays.Chat
|
||||
Channel.PendingMessageResolved += pendingMessageResolved;
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
newMessagesArrived(Channel.Messages);
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
newMessagesArrived(Channel.Messages);
|
||||
scrollToEnd();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user