From 1e505d40294693f61a5130fb3ac8f45f649c4b6d Mon Sep 17 00:00:00 2001 From: jfrickmann Date: Sat, 4 Sep 2021 15:55:14 -0400 Subject: [PATCH] Do not apply (x,y) offsets! --- radio/src/lua/api_colorlcd.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/radio/src/lua/api_colorlcd.cpp b/radio/src/lua/api_colorlcd.cpp index 81e8c4dc1..c109f7338 100644 --- a/radio/src/lua/api_colorlcd.cpp +++ b/radio/src/lua/api_colorlcd.cpp @@ -316,10 +316,6 @@ static int luaLcdDrawTextLines(lua_State *L) const char * s = luaL_checkstring(L, 5); LcdFlags flags = luaL_optunsigned(L, 6, 0); - // apply text offsets, needed to align 2.4.x to 2.3.x font baselines - x += getTextHorizontalOffset(flags); - y += getTextVerticalOffset(flags); - bool invers = flags & INVERS; if (flags & BLINK) invers = invers && !BLINK_ON_PHASE;