mirror of
https://github.com/ppy/osu.git
synced 2024-09-21 20:07:25 +08:00
Add scaling to the test
This commit is contained in:
parent
562280ced0
commit
e408efff49
@ -24,7 +24,15 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
[Test]
|
[Test]
|
||||||
public void TestSmoothCursorTrail()
|
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]
|
[Test]
|
||||||
|
Loading…
Reference in New Issue
Block a user