mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 18:23:04 +08:00
Merge pull request #464 from smoogipooo/remove_float_interpolation
Remove float ValueAt method.
This commit is contained in:
commit
e5bde712ed
@ -1 +1 @@
|
|||||||
Subproject commit 1c80609e7aa686f4abdc82bcd6a8f03439463ce7
|
Subproject commit a50dd75b114da963c75e6a5314099d99140035b8
|
@ -123,7 +123,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
if (value <= i)
|
if (value <= i)
|
||||||
return minStarScale;
|
return minStarScale;
|
||||||
|
|
||||||
return i + 1 <= value ? 1.0f : Interpolation.ValueAt(value, minStarScale, 1.0f, i, i + 1);
|
return i + 1 <= value ? 1.0f : (float)Interpolation.ValueAt(value, minStarScale, 1.0f, i, i + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void transformCount(float newValue)
|
private void transformCount(float newValue)
|
||||||
|
Loading…
Reference in New Issue
Block a user