mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 06:42:54 +08:00
Small style changes
This commit is contained in:
parent
465f92af07
commit
772bba27be
@ -66,8 +66,8 @@ namespace osu.Game.Tests.Visual
|
||||
|
||||
private class DummyMessage : Message
|
||||
{
|
||||
private static long messageCounter = 0;
|
||||
private static User sender = new User
|
||||
private static long messageCounter;
|
||||
private readonly static User sender = new User
|
||||
{
|
||||
Username = @"Somebody",
|
||||
Id = 1,
|
||||
|
@ -256,7 +256,6 @@ namespace osu.Game.Overlays.Chat
|
||||
});
|
||||
}
|
||||
|
||||
// Add text after the last link
|
||||
var lastLink = message.Links[message.Links.Count - 1];
|
||||
contentFlow.AddText(message.Content.Substring(lastLink.Index + lastLink.Length));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user