From 3d9985739bd78e2016a0c0849738bd76e409c47f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eckhard=20V=C3=B6llm?= Date: Sun, 19 May 2024 12:32:43 +0200 Subject: [PATCH] shift aircraft ID to the left to prevent last char being clipped --- main/Target.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/Target.cpp b/main/Target.cpp index a35f3de..7fad7dc 100644 --- a/main/Target.cpp +++ b/main/Target.cpp @@ -68,7 +68,7 @@ void Target::drawID( uint8_t r, uint8_t g, uint8_t b ){ egl->setColor(r,g,b); egl->setFont( ucg_font_fub20_hf ); int w=egl->getStrWidth(cur_id); - egl->setPrintPos( (DISPLAY_W-5)-w, DISPLAY_H-7 ); + egl->setPrintPos( (DISPLAY_W-10)-w, DISPLAY_H-7 ); egl->printf("%s",cur_id); }