mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Add clear to ensure no pile-up of messages.
This commit is contained in:
parent
28045b7136
commit
b4e65e7011
@ -94,6 +94,7 @@ namespace osu.Desktop.Tests
|
||||
GetMessagesRequest gm = new GetMessagesRequest(new List<Channel> { channel }, lastMessageId);
|
||||
gm.Success += delegate (List<Message> messages)
|
||||
{
|
||||
channel.Messages.Clear();
|
||||
foreach (Message m in messages)
|
||||
{
|
||||
//m.LineWidth = this.Size.X; //this is kinda ugly.
|
||||
|
Loading…
Reference in New Issue
Block a user