change math for displaying volume "MAX"

This commit is contained in:
Susko3 2021-05-10 00:51:58 +02:00
parent 2bcf1ed306
commit ab6239fd5f

View File

@ -204,7 +204,7 @@ namespace osu.Game.Overlays.Volume
{ {
displayVolume = value; displayVolume = value;
if (displayVolume > 0.99f) if (displayVolume >= 0.995f)
{ {
text.Text = "MAX"; text.Text = "MAX";
maxGlow.EffectColour = meterColour.Opacity(2f); maxGlow.EffectColour = meterColour.Opacity(2f);