Skip to content

Commit

Permalink
shift aircraft ID to the left to prevent last char being clipped
Browse files Browse the repository at this point in the history
  • Loading branch information
iltis42 committed May 19, 2024
1 parent e327ac9 commit 3d99857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/Target.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 3d99857

Please sign in to comment.