Avoid using load to construct the drawable hierarchy whereever possible.

This commit is contained in:
Thomas Müller
2016-11-12 18:34:36 +01:00
parent 16dc74df5b
commit ac99e2d488
21 changed files with 159 additions and 194 deletions

View File

@ -21,8 +21,7 @@ namespace osu.Desktop.VisualTests.Tests
protected override IFrameBasedClock Clock => ourClock;
[BackgroundDependencyLoader]
private void load()
public TestCaseHitObjects()
{
var swClock = new StopwatchClock(true) { Rate = 1 };
ourClock = new FramedClock(swClock);