1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-30 02:29:55 +08:00

Fix data flow being sometimes incorrect

This commit is contained in:
Bartłomiej Dach
2023-09-11 09:52:43 +02:00
Unverified
parent 552230af9d
commit 53c30dca64
2 changed files with 8 additions and 4 deletions
@@ -51,6 +51,7 @@ namespace osu.Game.Tests.Visual.UserInterface
AddStep("clear contents", Clear);
AddStep("reset ruleset", () => Ruleset.Value = rulesetStore.GetRuleset(0));
AddStep("reset mods", () => SelectedMods.SetDefault());
AddStep("set beatmap", () => Beatmap.Value = CreateWorkingBeatmap(new OsuRuleset().RulesetInfo));
AddStep("set up presets", () =>
{
Realm.Write(r =>
@@ -92,6 +93,7 @@ namespace osu.Game.Tests.Visual.UserInterface
{
RelativeSizeAxes = Axes.Both,
State = { Value = Visibility.Visible },
Beatmap = Beatmap.Value,
SelectedMods = { BindTarget = SelectedMods }
});
waitForColumnLoad();