1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

remove unused code

This commit is contained in:
Aergwyn 2018-01-02 17:58:11 +01:00
parent 52c2ba49cf
commit 699902234b

View File

@ -15,9 +15,6 @@ using osu.Game.Online.API.Requests;
using osu.Game.Overlays.SearchableList;
using osu.Game.Overlays.Social;
using osu.Game.Users;
using osu.Framework.Configuration;
using osu.Framework.Threading;
using System.Threading.Tasks;
namespace osu.Game.Overlays
{
@ -79,7 +76,7 @@ namespace osu.Game.Overlays
// }
//};
currentQuery.BindTo(Filter.Search.Current);
//currentQuery.BindTo(Filter.Search.Current);
Filter.Tabs.Current.ValueChanged += sortCriteria => Scheduler.AddOnce(updateSearch);
}
@ -145,13 +142,13 @@ namespace osu.Game.Overlays
private APIRequest getUsersRequest;
private readonly Bindable<string> currentQuery = new Bindable<string>();
//private readonly Bindable<string> currentQuery = new Bindable<string>();
private ScheduledDelegate queryChangedDebounce;
//private ScheduledDelegate queryChangedDebounce;
private void updateSearch()
{
queryChangedDebounce?.Cancel();
//queryChangedDebounce?.Cancel();
if (!IsLoaded)
return;