From cdd5485a1fe76a73f3be2de266f9cd464a8c2e33 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sun, 22 Sep 2019 19:20:24 +1000 Subject: [PATCH] Properly DPI offset hacks status text --- src/Screens.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Screens.c b/src/Screens.c index 0328345fc..f4a1cf44b 100644 --- a/src/Screens.c +++ b/src/Screens.c @@ -365,7 +365,9 @@ static void StatusScreen_ContextRecreated(void* screen) { s->posAtlas.tex.Y = y; y += s->posAtlas.tex.Height; - TextWidget_Make(line2, ANCHOR_MIN, ANCHOR_MIN, 2, y); + TextWidget_Make(line2, ANCHOR_MIN, ANCHOR_MIN, 2, 0); + /* We can't pass y to TextWidget_Make because that DPI scales it */ + line2->yOffset = y; if (Game_ClassicMode) { /* Swap around so 0.30 version is at top */