From c9ad49a0503bb5527f4ab9db8643be95b9b70527 Mon Sep 17 00:00:00 2001 From: Dav999 Date: Sun, 15 Jun 2025 19:54:39 +0200 Subject: [PATCH] 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. --- desktop_version/src/Graphics.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop_version/src/Graphics.cpp b/desktop_version/src/Graphics.cpp index 25df10f9..6e0380c4 100644 --- a/desktop_version/src/Graphics.cpp +++ b/desktop_version/src/Graphics.cpp @@ -3391,6 +3391,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)