diff --git a/source/funkin/audio/visualize/ABotVis.hx b/source/funkin/audio/visualize/ABotVis.hx index 4d2243b7c2..349f555a33 100644 --- a/source/funkin/audio/visualize/ABotVis.hx +++ b/source/funkin/audio/visualize/ABotVis.hx @@ -102,9 +102,7 @@ class ABotVis extends FlxTypedSpriteGroup var animFrame:Int = Math.round(levels[i].value * 5); #if desktop - // Web version scales with the Flixel volume level. - // This line brings platform parity but looks worse. - // animFrame = Math.round(animFrame * FlxG.sound.volume); + animFrame = Math.round(animFrame * (Math.round(FlxG.sound.logToLinear(FlxG.sound.volume) * 10) / 10)); #end animFrame = Math.floor(Math.min(5, animFrame)); diff --git a/source/funkin/ui/charSelect/CharSelectGF.hx b/source/funkin/ui/charSelect/CharSelectGF.hx index e8eeded40f..dd8681b522 100644 --- a/source/funkin/ui/charSelect/CharSelectGF.hx +++ b/source/funkin/ui/charSelect/CharSelectGF.hx @@ -109,9 +109,7 @@ class CharSelectGF extends FlxAtlasSprite implements IBPMSyncedScriptedClass var animFrame:Int = Math.round(levels[i].value * 12); #if desktop - // Web version scales with the Flixel volume level. - // This line brings platform parity but looks worse. - // animFrame = Math.round(animFrame * FlxG.sound.volume); + animFrame = Math.round(animFrame * (Math.round(FlxG.sound.logToLinear(FlxG.sound.volume) * 10) / 10)); #end animFrame = Math.floor(Math.min(12, animFrame));