mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
fix SortDirection default to descending when retrieved data is ascending
This commit is contained in:
parent
0e361aefeb
commit
988f6ac901
@ -1,13 +1,22 @@
|
||||
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using osu.Game.Overlays;
|
||||
using osu.Game.Overlays.Social;
|
||||
using osu.Game.Users;
|
||||
|
||||
namespace osu.Game.Tests.Visual
|
||||
{
|
||||
public class TestCaseSocial : OsuTestCase
|
||||
{
|
||||
public override IReadOnlyList<Type> RequiredTypes => new[]
|
||||
{
|
||||
typeof(FilterControl),
|
||||
typeof(SocialOverlay)
|
||||
};
|
||||
|
||||
public TestCaseSocial()
|
||||
{
|
||||
SocialOverlay s = new SocialOverlay
|
||||
|
@ -204,7 +204,7 @@ namespace osu.Game.Overlays
|
||||
|
||||
public enum SortDirection
|
||||
{
|
||||
Descending,
|
||||
Ascending,
|
||||
Descending
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user