mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Hide graph when it's unavailable; Scroll change
This commit is contained in:
@ -197,13 +197,13 @@ namespace osu.Game.Overlays
|
||||
badges.SelectUpdateStream(build.UpdateStream.Name);
|
||||
|
||||
chart.ShowUpdateStream(build.UpdateStream.Name);
|
||||
req.Success += APIChangelog =>
|
||||
req.Success += apiChangelog =>
|
||||
{
|
||||
listing.Hide();
|
||||
content.Show();
|
||||
content.ShowBuild(APIChangelog);
|
||||
content.ShowBuild(apiChangelog);
|
||||
if (scroll.Current > scroll.GetChildPosInContent(content))
|
||||
scroll.ScrollTo(content);
|
||||
scroll.ScrollTo(chart);
|
||||
if (isAtListing)
|
||||
savedScrollPosition = scroll.Current;
|
||||
isAtListing = false;
|
||||
|
Reference in New Issue
Block a user