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:
parent
fcb226bd20
commit
67a99c83a3
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user