mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:42:56 +08:00
Actually multiply by the multiplier
This commit is contained in:
parent
16f331cf6d
commit
8cd13729ee
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user