mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 20:32:55 +08:00
Hotfix to fix chat scrolling to end
This commit is contained in:
parent
069245e7ab
commit
f81c66db63
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user