Merge pull request #12208 from peppy/fix-chat-scroll-stickiness

Fix chat scroll sticking visually when scrolling beyond bottom extent
This commit is contained in:
Dan Balasescu
2021-03-29 20:44:44 +09:00
committed by GitHub

View File

@ -275,7 +275,8 @@ namespace osu.Game.Overlays.Chat
{
if (!UserScrolling)
{
ScrollToEnd();
if (Current < ScrollableExtent)
ScrollToEnd();
lastExtent = ScrollableExtent;
}
});