mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Remove refactor in DrawableChannel
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user