1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-02-04 18:57:09 +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);
alphaTarget = 1;
}
else if (y > -height)
else if (y >= -height)
{
lerpYPos = -height - 10;
alphaTarget = 0;
}
if (y <= -height)
{
@ -107,7 +108,6 @@ class FunkinSoundTray extends FlxSoundTray
#end
}
}
}
/**
* Makes the little volume tray slide out.