mirror of
https://github.com/osukey/osukey.git
synced 2025-05-09 15:47:38 +09:00
Merge pull request #16961 from peppy/timeline-load-wait-failure
Fix `TestSceneEditorSaving` not waiting for timeline load
This commit is contained in:
commit
ebdffb3cd9
@ -49,6 +49,8 @@ namespace osu.Game.Tests.Visual.Editing
|
|||||||
double originalTimelineZoom = 0;
|
double originalTimelineZoom = 0;
|
||||||
double changedTimelineZoom = 0;
|
double changedTimelineZoom = 0;
|
||||||
|
|
||||||
|
AddUntilStep("wait for timeline load", () => Editor.ChildrenOfType<Timeline>().SingleOrDefault()?.IsLoaded == true);
|
||||||
|
|
||||||
AddStep("Set beat divisor", () => Editor.Dependencies.Get<BindableBeatDivisor>().Value = 16);
|
AddStep("Set beat divisor", () => Editor.Dependencies.Get<BindableBeatDivisor>().Value = 16);
|
||||||
AddStep("Set timeline zoom", () =>
|
AddStep("Set timeline zoom", () =>
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user