mirror of
https://github.com/ppy/osu
synced 2025-01-01 20:02:14 +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();
|
notificationOverlay.Hide();
|
||||||
chatOverlay.HighlightMessage(message, channel);
|
chatOverlay.HighlightMessage(message, channel);
|
||||||
chatOverlay.Show();
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -313,6 +313,8 @@ namespace osu.Game.Overlays
|
|||||||
/// <param name="channel">The channel containing the message.</param>
|
/// <param name="channel">The channel containing the message.</param>
|
||||||
public void HighlightMessage(Message message, Channel channel)
|
public void HighlightMessage(Message message, Channel channel)
|
||||||
{
|
{
|
||||||
|
Show();
|
||||||
|
|
||||||
Debug.Assert(channel.Id == message.ChannelId);
|
Debug.Assert(channel.Id == message.ChannelId);
|
||||||
|
|
||||||
if (currentChannel.Value.Id != channel.Id)
|
if (currentChannel.Value.Id != channel.Id)
|
||||||
|
Loading…
Reference in New Issue
Block a user