mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09: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]
|
[Resolved]
|
||||||
private VerifyScreen verify { get; set; }
|
private VerifyScreen verify { get; set; }
|
||||||
|
|
||||||
|
private Bindable<DifficultyRating> interpretedDifficulty;
|
||||||
|
|
||||||
private IBeatmapVerifier rulesetVerifier;
|
private IBeatmapVerifier rulesetVerifier;
|
||||||
private BeatmapVerifier generalVerifier;
|
private BeatmapVerifier generalVerifier;
|
||||||
private BeatmapVerifierContext context;
|
private BeatmapVerifierContext context;
|
||||||
@ -45,8 +47,10 @@ namespace osu.Game.Screens.Edit.Verify
|
|||||||
generalVerifier = new BeatmapVerifier();
|
generalVerifier = new BeatmapVerifier();
|
||||||
rulesetVerifier = beatmap.BeatmapInfo.Ruleset?.CreateInstance()?.CreateBeatmapVerifier();
|
rulesetVerifier = beatmap.BeatmapInfo.Ruleset?.CreateInstance()?.CreateBeatmapVerifier();
|
||||||
|
|
||||||
|
interpretedDifficulty = verify.InterpretedDifficulty.GetBoundCopy();
|
||||||
|
|
||||||
context = new BeatmapVerifierContext(workingBeatmap.Value);
|
context = new BeatmapVerifierContext(workingBeatmap.Value);
|
||||||
context.InterpretedDifficulty.BindTo(verify.InterpretedDifficulty.GetBoundCopy());
|
context.InterpretedDifficulty.BindTo(interpretedDifficulty);
|
||||||
|
|
||||||
RelativeSizeAxes = Axes.Both;
|
RelativeSizeAxes = Axes.Both;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user