1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 06:47:24 +08:00

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
commit 633a0f4a40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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