1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 03:29:53 +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
Unverified
parent 34adc1d410
commit 134d9b5ddf
+2 -2
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;