mirror of
https://github.com/ppy/osu
synced 2024-12-29 18:32:39 +00:00
Make HighlightMessage
implicitly show chat overlay
This commit is contained in:
parent
53484eb7de
commit
ae1e126837
@ -178,8 +178,6 @@ namespace osu.Game.Online.Chat
|
||||
{
|
||||
notificationOverlay.Hide();
|
||||
chatOverlay.HighlightMessage(message, channel);
|
||||
chatOverlay.Show();
|
||||
|
||||
return true;
|
||||
};
|
||||
}
|
||||
|
@ -313,6 +313,8 @@ namespace osu.Game.Overlays
|
||||
/// <param name="channel">The channel containing the message.</param>
|
||||
public void HighlightMessage(Message message, Channel channel)
|
||||
{
|
||||
Show();
|
||||
|
||||
Debug.Assert(channel.Id == message.ChannelId);
|
||||
|
||||
if (currentChannel.Value.Id != channel.Id)
|
||||
|
Loading…
Reference in New Issue
Block a user