Adjust minimum triangle movement speed to avoid "static" triangles in logo

Closes #14584.
This commit is contained in:
Dean Herbert
2021-08-31 14:08:21 +09:00
parent ba57493732
commit 529a9a6ff8
2 changed files with 26 additions and 1 deletions

View File

@ -153,7 +153,7 @@ namespace osu.Game.Graphics.Backgrounds
TriangleParticle newParticle = parts[i];
// Scale moved distance by the size of the triangle. Smaller triangles should move more slowly.
newParticle.Position.Y += parts[i].Scale * movedDistance;
newParticle.Position.Y += Math.Max(0.5f, parts[i].Scale) * movedDistance;
newParticle.Colour.A = adjustedAlpha;
parts[i] = newParticle;