1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-11-26 06:09:02 +00:00

volume preference fix

This commit is contained in:
Cameron Taylor 2024-04-30 07:54:42 -04:00
parent 23dd9937ec
commit aff9ee5312

View file

@ -86,10 +86,11 @@ class FunkinSoundTray extends FlxSoundTray
_timer -= (MS / 1000); _timer -= (MS / 1000);
alphaTarget = 1; alphaTarget = 1;
} }
else if (y > -height) else if (y >= -height)
{ {
lerpYPos = -height - 10; lerpYPos = -height - 10;
alphaTarget = 0; alphaTarget = 0;
}
if (y <= -height) if (y <= -height)
{ {
@ -107,7 +108,6 @@ class FunkinSoundTray extends FlxSoundTray
#end #end
} }
} }
}
/** /**
* Makes the little volume tray slide out. * Makes the little volume tray slide out.