mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 21:07:18 +09: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 class DummyMessage : Message
|
||||||
{
|
{
|
||||||
private static long messageCounter = 0;
|
private static long messageCounter;
|
||||||
private static User sender = new User
|
private readonly static User sender = new User
|
||||||
{
|
{
|
||||||
Username = @"Somebody",
|
Username = @"Somebody",
|
||||||
Id = 1,
|
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];
|
var lastLink = message.Links[message.Links.Count - 1];
|
||||||
contentFlow.AddText(message.Content.Substring(lastLink.Index + lastLink.Length));
|
contentFlow.AddText(message.Content.Substring(lastLink.Index + lastLink.Length));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user