ImGuiFullscreen: Less jarring notifications

This commit is contained in:
Stenzek
2023-09-10 23:47:39 +10:00
parent a4911946ec
commit 631d1e7433
2 changed files with 54 additions and 21 deletions

View File

@ -132,7 +132,7 @@ ALWAYS_INLINE_RELEASE static T InExpo(T t)
template<typename T>
ALWAYS_INLINE_RELEASE static T OutExpo(T t)
{
return 1 - std::pow(2, -8 * t);
return 1.0f - std::pow(2.0f, -8.0f * t);
}
template<typename T>