mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Merge branch 'master' into remove-dispose-updates
This commit is contained in:
@ -30,10 +30,15 @@ namespace osu.Game.Tests.Visual
|
||||
{
|
||||
var dependencies = new DependencyContainer(base.CreateChildDependencies(parent));
|
||||
|
||||
dependencies.CacheAs(new EditorClock());
|
||||
|
||||
var playable = GetPlayableBeatmap();
|
||||
dependencies.CacheAs(new EditorBeatmap(playable));
|
||||
|
||||
var editorClock = new EditorClock();
|
||||
base.Content.Add(editorClock);
|
||||
dependencies.CacheAs(editorClock);
|
||||
|
||||
var editorBeatmap = new EditorBeatmap(playable);
|
||||
// Not adding to hierarchy as we don't satisfy its dependencies. Probably not good.
|
||||
dependencies.CacheAs(editorBeatmap);
|
||||
|
||||
return dependencies;
|
||||
}
|
||||
|
Reference in New Issue
Block a user