From 5f72265eff753c83bac54ea01066e5f25d0ac90e Mon Sep 17 00:00:00 2001 From: smoogipooo Date: Fri, 10 Mar 2017 14:09:07 +0900 Subject: [PATCH] Remove float ValueAt method. --- osu-framework | 2 +- osu.Game/Graphics/UserInterface/StarCounter.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/osu-framework b/osu-framework index 1c80609e7a..a50dd75b11 160000 --- a/osu-framework +++ b/osu-framework @@ -1 +1 @@ -Subproject commit 1c80609e7aa686f4abdc82bcd6a8f03439463ce7 +Subproject commit a50dd75b114da963c75e6a5314099d99140035b8 diff --git a/osu.Game/Graphics/UserInterface/StarCounter.cs b/osu.Game/Graphics/UserInterface/StarCounter.cs index a1da18e95a..c46eda6582 100644 --- a/osu.Game/Graphics/UserInterface/StarCounter.cs +++ b/osu.Game/Graphics/UserInterface/StarCounter.cs @@ -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)