1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 01:29:43 +01:00

XFLIP analog stick sensitivity slider properly

The slider itself was getting mirrored, but not the labels
(Low/Medium/High). This fixes that.
This commit is contained in:
Dav999 2024-01-05 02:13:57 +01:00 committed by Misa Elizabeth Kai
parent 5620edeb6b
commit 79a0ad8493

View file

@ -702,9 +702,9 @@ static void menurender(void)
{
case 0:
{
font::print(0, 32, 75, loc::gettext("Low"), tr, tg, tb);
font::print(PR_RTL_XFLIP, 32, 75, loc::gettext("Low"), tr, tg, tb);
font::print(PR_CEN, -1, 75, loc::gettext("Medium"), tr, tg, tb);
font::print(PR_RIGHT, 288, 75, loc::gettext("High"), tr, tg, tb);
font::print(PR_RIGHT | PR_RTL_XFLIP, 288, 75, loc::gettext("High"), tr, tg, tb);
char slider[SCREEN_WIDTH_CHARS + 1];
slider_get(slider, sizeof(slider), key.sensitivity, 5, 240);
font::print(PR_CEN, -1, 75+spacing, slider, tr, tg, tb);