mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-07-07 19:45:00 +00:00
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:
parent
d53861553e
commit
66da7b3473
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue