mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 09:43:10 +08:00
Keep track of local bound copy
This commit is contained in:
parent
e7c7786db3
commit
4eeeaf6a1a
@ -35,6 +35,8 @@ namespace osu.Game.Screens.Edit.Verify
|
||||
[Resolved]
|
||||
private VerifyScreen verify { get; set; }
|
||||
|
||||
private Bindable<DifficultyRating> interpretedDifficulty;
|
||||
|
||||
private IBeatmapVerifier rulesetVerifier;
|
||||
private BeatmapVerifier generalVerifier;
|
||||
private BeatmapVerifierContext context;
|
||||
@ -45,8 +47,10 @@ namespace osu.Game.Screens.Edit.Verify
|
||||
generalVerifier = new BeatmapVerifier();
|
||||
rulesetVerifier = beatmap.BeatmapInfo.Ruleset?.CreateInstance()?.CreateBeatmapVerifier();
|
||||
|
||||
interpretedDifficulty = verify.InterpretedDifficulty.GetBoundCopy();
|
||||
|
||||
context = new BeatmapVerifierContext(workingBeatmap.Value);
|
||||
context.InterpretedDifficulty.BindTo(verify.InterpretedDifficulty.GetBoundCopy());
|
||||
context.InterpretedDifficulty.BindTo(interpretedDifficulty);
|
||||
|
||||
RelativeSizeAxes = Axes.Both;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user