mirror of
https://github.com/ppy/osu.git
synced 2025-03-19 01:17:19 +08:00
Add missing new
method in UserTrackingScrollContainer
for scrolling into view
This commit is contained in:
parent
139ff2d6e2
commit
2d19f37dc6
@ -42,6 +42,12 @@ namespace osu.Game.Graphics.Containers
|
||||
base.OnUserScroll(value, animated, distanceDecay);
|
||||
}
|
||||
|
||||
public new void ScrollIntoView(Drawable target, bool animated = true)
|
||||
{
|
||||
UserScrolling = false;
|
||||
base.ScrollIntoView(target, animated);
|
||||
}
|
||||
|
||||
public new void ScrollTo(float value, bool animated = true, double? distanceDecay = null)
|
||||
{
|
||||
UserScrolling = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user