1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 14:02:55 +08:00

Make TrianglesV2 test scene consistent

This commit is contained in:
Andrei Zavatski 2022-11-30 04:02:35 +03:00
parent 08a403cb33
commit c3b5b19c32

View File

@ -54,7 +54,11 @@ namespace osu.Game.Tests.Visual.Background
{ {
base.LoadComplete(); base.LoadComplete();
AddSliderStep("Spawn ratio", 0f, 2f, 1f, s => triangles.SpawnRatio = s); AddSliderStep("Spawn ratio", 0f, 5f, 1f, s =>
{
triangles.SpawnRatio = s;
triangles.Reset(1234);
});
AddSliderStep("Thickness", 0f, 1f, 0.02f, t => triangles.Thickness = t); AddSliderStep("Thickness", 0f, 1f, 0.02f, t => triangles.Thickness = t);
} }
} }