1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 21:23:04 +08:00

Add "new" override for ScrollToEnd To UserTrackingScrollContainer

This commit is contained in:
Dean Herbert 2021-02-02 15:16:26 +09:00
parent dcb1626e4d
commit ed63b571d2

View File

@ -45,5 +45,11 @@ namespace osu.Game.Graphics.Containers
UserScrolling = false; UserScrolling = false;
base.ScrollTo(value, animated, distanceDecay); base.ScrollTo(value, animated, distanceDecay);
} }
public new void ScrollToEnd(bool animated = true, bool allowDuringDrag = false)
{
UserScrolling = false;
base.ScrollToEnd(animated, allowDuringDrag);
}
} }
} }