mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Add missing new
method in UserTrackingScrollContainer
for scrolling into view
This commit is contained in:
@ -42,6 +42,12 @@ namespace osu.Game.Graphics.Containers
|
|||||||
base.OnUserScroll(value, animated, distanceDecay);
|
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)
|
public new void ScrollTo(float value, bool animated = true, double? distanceDecay = null)
|
||||||
{
|
{
|
||||||
UserScrolling = false;
|
UserScrolling = false;
|
||||||
|
Reference in New Issue
Block a user