Do not apply (x,y) offsets!

This commit is contained in:
jfrickmann
2021-09-04 15:55:14 -04:00
parent 1d2983ad93
commit 1e505d4029
-4
View File
@@ -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;