mirror of
https://github.com/ppy/osu.git
synced 2026-05-28 00:20:28 +08:00
Hotfix to fix chat scrolling to end
This commit is contained in:
@@ -81,7 +81,7 @@ namespace osu.Game.Overlays.Chat
|
||||
|
||||
ChatLineFlow.AddRange(displayMessages.Select(CreateChatLine));
|
||||
|
||||
if (scroll.IsScrolledToEnd(10) || !ChatLineFlow.Children.Any() || newMessages.Any(m => m is LocalMessage))
|
||||
//if (scroll.IsScrolledToEnd(10) || !ChatLineFlow.Children.Any() || newMessages.Any(m => m is LocalMessage))
|
||||
scrollToEnd();
|
||||
|
||||
var staleMessages = ChatLineFlow.Children.Where(c => c.LifetimeEnd == double.MaxValue).ToArray();
|
||||
|
||||
Reference in New Issue
Block a user