1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 02:22:56 +08:00

Tidy bindable changed code up

This commit is contained in:
Dean Herbert 2021-05-14 16:24:52 +09:00
parent fcb226bd20
commit 67a99c83a3

View File

@ -46,10 +46,7 @@ namespace osu.Game.Screens.Edit.Verify
rulesetVerifier = beatmap.BeatmapInfo.Ruleset?.CreateInstance()?.CreateBeatmapVerifier();
context = new BeatmapVerifierContext(beatmap, workingBeatmap.Value, verify.InterpretedDifficulty.Value);
verify.InterpretedDifficulty.BindValueChanged(change =>
{
context.InterpretedDifficulty = change.NewValue;
});
verify.InterpretedDifficulty.BindValueChanged(difficulty => context.InterpretedDifficulty = difficulty.NewValue);
RelativeSizeAxes = Axes.Both;