mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Scroll chat line to channel center
We may eventually want that encapsulated within `ScrollIntoView`, as it would also come in handy for `GameplayLeaderboard`.
This commit is contained in:
@ -47,6 +47,12 @@ namespace osu.Game.Overlays.Chat
|
||||
updateTrackState();
|
||||
}
|
||||
|
||||
public new void ScrollTo(float value, bool animated = true, double? distanceDecay = null)
|
||||
{
|
||||
base.ScrollTo(value, animated, distanceDecay);
|
||||
updateTrackState();
|
||||
}
|
||||
|
||||
public new void ScrollIntoView(Drawable d, bool animated = true)
|
||||
{
|
||||
base.ScrollIntoView(d, animated);
|
||||
|
Reference in New Issue
Block a user