Fix vertical position of Comms Relay textbox

Fixes #1242.

Turns out it was a really simple fix - the X positions were good, but
the Y positions were always at the top of the screen regardless of the
height of the textbox. Now they're vertically centered respective to
the speaker.
This commit is contained in:
Dav999 2025-06-15 19:54:39 +02:00
parent d53861553e
commit 66da7b3473

View file

@ -3402,6 +3402,7 @@ static void commsrelay_textbox(textboxclass* THIS)
THIS->wrap(11);
THIS->resize();
THIS->xp = 224 - THIS->w;
THIS->yp = 32 - THIS->h/2;
}
void Graphics::textboxcommsrelay(const char* text)