mirror of
https://github.com/ppy/osu.git
synced 2025-02-19 21:43:21 +08:00
Fix "Start Chat" on multiplayer/playlist chat not opening overlay
This commit is contained in:
parent
b659e5e6ad
commit
b33f8aa0fc
@ -257,10 +257,14 @@ namespace osu.Game.Overlays.Chat
|
|||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(UserProfileOverlay? profile, ChannelManager? chatManager)
|
private void load(UserProfileOverlay? profile, ChannelManager? chatManager, ChatOverlay? chatOverlay)
|
||||||
{
|
{
|
||||||
Action = () => profile?.ShowUser(sender);
|
Action = () => profile?.ShowUser(sender);
|
||||||
startChatAction = () => chatManager?.OpenPrivateChannel(sender);
|
startChatAction = () =>
|
||||||
|
{
|
||||||
|
chatManager?.OpenPrivateChannel(sender);
|
||||||
|
chatOverlay?.Show();
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public MenuItem[] ContextMenuItems
|
public MenuItem[] ContextMenuItems
|
||||||
|
Loading…
Reference in New Issue
Block a user