Fix position of bottom-right CPE text being wrong after unminimising (Thanks Goodly)

This commit is contained in:
UnknownShadow200 2020-09-23 16:54:31 +10:00
parent ab28547a69
commit 47fb88b86f

View File

@ -1018,6 +1018,9 @@ static void ChatScreen_BuildMesh(void* screen) { }
static void ChatScreen_Layout(void* screen) {
struct ChatScreen* s = (struct ChatScreen*)screen;
/* See comment in ChatScreen_UpdateChatYOffsets */
HUDScreen_Layout(Gui_HUD);
int yOffset = Gui_HUD->hotbar.height + 15; /* TODO: This should be DPI scaled?? */
if (ChatScreen_ChatUpdateFont(s)) ChatScreen_Redraw(s);