1
0
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:
Dean Herbert 2017-03-10 14:16:33 +09:00 committed by GitHub
commit e5bde712ed
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 1c80609e7aa686f4abdc82bcd6a8f03439463ce7
Subproject commit a50dd75b114da963c75e6a5314099d99140035b8

View File

@ -123,7 +123,7 @@ namespace osu.Game.Graphics.UserInterface
if (value <= i)
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)