1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 12:22:57 +08:00

Unconditionally set "autoscroll" state

This commit is contained in:
Salman Ahmed 2021-02-01 22:08:55 +03:00
parent 15fcabb128
commit 5c28c030c8

View File

@ -261,8 +261,8 @@ namespace osu.Game.Overlays.Chat
if ((lastExtent == null || ScrollableExtent > lastExtent) && ShouldAutoScroll)
ScrollToEnd();
else
ShouldAutoScroll = IsScrolledToEnd(auto_scroll_leniency);
ShouldAutoScroll = IsScrolledToEnd(auto_scroll_leniency);
lastExtent = ScrollableExtent;
}