mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 16:12:57 +08:00
Fix missed BDL case
This commit is contained in:
parent
e25d1f6982
commit
193142e901
@ -20,7 +20,8 @@ namespace osu.Game.Tests.Visual
|
|||||||
protected override IReadOnlyDependencyContainer CreateLocalDependencies(IReadOnlyDependencyContainer parent)
|
protected override IReadOnlyDependencyContainer CreateLocalDependencies(IReadOnlyDependencyContainer parent)
|
||||||
=> dependencies = new DependencyContainer(parent);
|
=> dependencies = new DependencyContainer(parent);
|
||||||
|
|
||||||
public TestCasePlaybackControl()
|
[BackgroundDependencyLoader]
|
||||||
|
private void load()
|
||||||
{
|
{
|
||||||
var clock = new DecoupleableInterpolatingFramedClock { IsCoupled = false };
|
var clock = new DecoupleableInterpolatingFramedClock { IsCoupled = false };
|
||||||
dependencies.CacheAs<IAdjustableClock>(clock);
|
dependencies.CacheAs<IAdjustableClock>(clock);
|
||||||
@ -35,7 +36,7 @@ namespace osu.Game.Tests.Visual
|
|||||||
|
|
||||||
playback.Beatmap.Value = new TestWorkingBeatmap(new Beatmap());
|
playback.Beatmap.Value = new TestWorkingBeatmap(new Beatmap());
|
||||||
|
|
||||||
Add(playback);
|
Child = playback;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user