mirror of
https://github.com/ppy/osu
synced 2025-01-30 01:42:54 +00: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();
|
rulesetVerifier = beatmap.BeatmapInfo.Ruleset?.CreateInstance()?.CreateBeatmapVerifier();
|
||||||
|
|
||||||
context = new BeatmapVerifierContext(beatmap, workingBeatmap.Value, verify.InterpretedDifficulty.Value);
|
context = new BeatmapVerifierContext(beatmap, workingBeatmap.Value, verify.InterpretedDifficulty.Value);
|
||||||
verify.InterpretedDifficulty.BindValueChanged(change =>
|
verify.InterpretedDifficulty.BindValueChanged(difficulty => context.InterpretedDifficulty = difficulty.NewValue);
|
||||||
{
|
|
||||||
context.InterpretedDifficulty = change.NewValue;
|
|
||||||
});
|
|
||||||
|
|
||||||
RelativeSizeAxes = Axes.Both;
|
RelativeSizeAxes = Axes.Both;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user