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

Actually multiply by the multiplier

This commit is contained in:
Endrik Tombak 2020-10-02 19:34:49 +03:00
parent 16f331cf6d
commit 8cd13729ee
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ namespace osu.Game.Rulesets.Osu.Skinning
protected override bool InterpolateMovements => !disjointTrail;
protected override float IntervalMultiplier => Math.Max(cursorSize.Value, 1);
protected override float IntervalMultiplier => 1 / Math.Max(cursorSize.Value, 1);
protected override bool OnMouseMove(MouseMoveEvent e)
{

View File

@ -149,7 +149,7 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor
float distance = diff.Length;
Vector2 direction = diff / distance;
float interval = partSize.X / 2.5f / IntervalMultiplier;
float interval = partSize.X / 2.5f * IntervalMultiplier;
for (float d = interval; d < distance; d += interval)
{