mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Make Back action go to the top of listing before exiting the changelog screen
This commit is contained in:
@ -132,7 +132,15 @@ namespace osu.Game.Overlays
|
||||
{
|
||||
case GlobalAction.Back:
|
||||
if (isAtListing)
|
||||
{
|
||||
if (scroll.Current > scroll.GetChildPosInContent(listing))
|
||||
{
|
||||
scroll.ScrollTo(0);
|
||||
sampleBack?.Play();
|
||||
}
|
||||
else
|
||||
State = Visibility.Hidden;
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowListing();
|
||||
|
Reference in New Issue
Block a user