mirror of
https://github.com/ppy/osu.git
synced 2025-02-14 00:03:21 +08:00
Remove refactor in DrawableChannel
This commit is contained in:
parent
8a9c90c5e6
commit
32c2023517
@ -150,15 +150,13 @@ namespace osu.Game.Overlays.Chat
|
||||
|
||||
private void messageRemoved(Message removed)
|
||||
{
|
||||
findChatLine(removed)?.FadeColour(Color4.Red, 400).FadeOut(600).Expire();
|
||||
chatLines.FirstOrDefault(c => c.Message == removed)?.FadeColour(Color4.Red, 400).FadeOut(600).Expire();
|
||||
}
|
||||
|
||||
private IEnumerable<ChatLine> chatLines => ChatLineFlow.Children.OfType<ChatLine>();
|
||||
|
||||
private void scrollToEnd() => ScheduleAfterChildren(() => scroll.ScrollToEnd());
|
||||
|
||||
private ChatLine findChatLine(Message message) => chatLines.FirstOrDefault(c => c.Message == message);
|
||||
|
||||
public class DaySeparator : Container
|
||||
{
|
||||
public float TextSize
|
||||
|
Loading…
Reference in New Issue
Block a user