mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Cache and resolve editor clock as EditorClock in all cases
This commit is contained in:
@ -30,8 +30,7 @@ namespace osu.Game.Tests.Visual
|
||||
var dependencies = new DependencyContainer(base.CreateChildDependencies(parent));
|
||||
|
||||
dependencies.Cache(BeatDivisor);
|
||||
dependencies.CacheAs<IFrameBasedClock>(Clock);
|
||||
dependencies.CacheAs<IAdjustableClock>(Clock);
|
||||
dependencies.CacheAs(Clock);
|
||||
|
||||
return dependencies;
|
||||
}
|
||||
|
Reference in New Issue
Block a user