mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:17:23 +08:00
Fixed InspectCode
This commit is contained in:
parent
583754b22a
commit
e9571b72cf
@ -1,7 +1,6 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Threading;
|
||||
using osu.Framework.Allocation;
|
||||
@ -46,7 +45,7 @@ namespace osu.Game.Screens.Ranking.Expanded
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="StarRatingDisplay"/> using a <see cref="BeatmapInfo"/> to use a bindable for the difficulty.
|
||||
/// Creates a new <see cref="StarRatingDisplay"/> using a <see cref="BeatmapInfo"/> to use a bindable for the difficulty.
|
||||
/// </summary>
|
||||
/// <param name="beatmapInfo">The <see cref="BeatmapInfo"/> to use to create a bindable for <see cref="StarDifficulty"/></param>
|
||||
public StarRatingDisplay(BeatmapInfo beatmapInfo)
|
||||
|
@ -142,11 +142,6 @@ namespace osu.Game.Screens.Select
|
||||
}
|
||||
}
|
||||
|
||||
protected override void Dispose(bool isDisposing)
|
||||
{
|
||||
base.Dispose(isDisposing);
|
||||
}
|
||||
|
||||
public class WedgeInfoText : Container
|
||||
{
|
||||
public FillFlowContainer MapperContainer { get; private set; }
|
||||
@ -394,7 +389,7 @@ namespace osu.Game.Screens.Select
|
||||
}
|
||||
};
|
||||
|
||||
mods.BindValueChanged(mods => refreshModInformation(mods), true);
|
||||
mods.BindValueChanged(refreshModInformation, true);
|
||||
}
|
||||
|
||||
private void refreshModInformation(ValueChangedEvent<IReadOnlyList<Mod>> modsChangedEvent)
|
||||
@ -470,7 +465,7 @@ namespace osu.Game.Screens.Select
|
||||
}
|
||||
};
|
||||
|
||||
starDifficulty.BindValueChanged(valueChangedEvent => setColour(valueChangedEvent), true);
|
||||
starDifficulty.BindValueChanged(setColour, true);
|
||||
}
|
||||
|
||||
private void setColour(ValueChangedEvent<StarDifficulty?> valueChanged)
|
||||
|
Loading…
Reference in New Issue
Block a user