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

Changed it so the ":" character does not appear after usernames when the displayed message is an action (e.g. /np). Just makes more sense imo

This commit is contained in:
FreezyLemon 2017-12-07 10:23:57 +01:00
parent 94eb853d3d
commit 7bf25bdd4d

View File

@ -210,7 +210,7 @@ namespace osu.Game.Overlays.Chat
timestamp.FadeTo(message is LocalEchoMessage ? 0 : 1, 500, Easing.OutQuint); timestamp.FadeTo(message is LocalEchoMessage ? 0 : 1, 500, Easing.OutQuint);
timestamp.Text = $@"{message.Timestamp.LocalDateTime:HH:mm:ss}"; timestamp.Text = $@"{message.Timestamp.LocalDateTime:HH:mm:ss}";
username.Text = $@"{message.Sender.Username}" + (senderHasBackground ? "" : ":"); username.Text = $@"{message.Sender.Username}" + (senderHasBackground || message.IsAction ? "" : ":");
contentFlow.Clear(); contentFlow.Clear();