Skip to content

Commit 66da7b3

Browse files
committed
Fix vertical position of Comms Relay textbox
Fixes TerryCavanagh#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.
1 parent d538615 commit 66da7b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

desktop_version/src/Graphics.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3402,6 +3402,7 @@ static void commsrelay_textbox(textboxclass* THIS)
34023402
THIS->wrap(11);
34033403
THIS->resize();
34043404
THIS->xp = 224 - THIS->w;
3405+
THIS->yp = 32 - THIS->h/2;
34053406
}
34063407

34073408
void Graphics::textboxcommsrelay(const char* text)

0 commit comments

Comments
 (0)