mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 21:52:55 +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]
|
||||
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
Block a user