1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 19:22:54 +08:00

Fix chat scroll sticking visually when scrolling beyond bottom extent

This commit is contained in:
Dean Herbert 2021-03-29 18:07:47 +09:00
parent b9b0623c83
commit 699a317b44

View File

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