1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 07:33:20 +08:00

Remove more unused code

This commit is contained in:
smoogipoo 2019-01-08 16:37:18 +09:00
parent a2a7aa708f
commit daeba63242

View File

@ -175,20 +175,6 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
preview.Expire(); preview.Expire();
} }
private ScheduledDelegate delayedApplication;
private void applyWithDelay(Action func, bool firstRun = true)
{
if (!firstRun && !GetContainingInputManager().CurrentState.Mouse.IsPressed(MouseButton.Left))
{
func();
return;
}
delayedApplication?.Cancel();
delayedApplication = Scheduler.AddDelayed(() => applyWithDelay(func, false), 250);
}
private IReadOnlyList<Size> getResolutions() private IReadOnlyList<Size> getResolutions()
{ {
var resolutions = new List<Size> { new Size(9999, 9999) }; var resolutions = new List<Size> { new Size(9999, 9999) };