mirror of https://github.com/ppy/osu
Add scaling to the test
This commit is contained in:
parent
562280ced0
commit
e408efff49
|
@ -24,7 +24,15 @@ public class TestSceneCursorTrail : OsuTestScene
|
|||
[Test]
|
||||
public void TestSmoothCursorTrail()
|
||||
{
|
||||
createTest(() => new CursorTrail());
|
||||
Container scalingContainer = null;
|
||||
|
||||
createTest(() => scalingContainer = new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Child = new CursorTrail()
|
||||
});
|
||||
|
||||
AddStep("set large scale", () => scalingContainer.Scale = new Vector2(10));
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
Loading…
Reference in New Issue