1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 07:22:55 +08:00

Perform Show() at the bottom of the method

Probably not affecting behaviour, but makes more sense.
This commit is contained in:
Salman Ahmed 2022-04-08 19:27:59 +03:00
parent 34adc1d410
commit 134d9b5ddf

View File

@ -313,8 +313,6 @@ 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)
@ -326,6 +324,8 @@ namespace osu.Game.Overlays
}
channel.HighlightedMessage.Value = message;
Show();
}
private float startDragChatHeight;