Skip to content

Commit

Permalink
Fixed font selection issue for N,S,E<W labels in compass app
Browse files Browse the repository at this point in the history
  • Loading branch information
UnexpectedMaker committed Feb 17, 2024
1 parent bedfe68 commit 13e51cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Platform-io-source/src/tw_apps/app_Compass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ void AppCompass::drawCompass(int x, int y, int angle)
canvas[canvasid].setTextDatum(MC_DATUM);
canvas[canvasid].setTextColor(TFT_WHITE);

canvas[canvasid].drawString("N", 120, 140 - 42, 2);
canvas[canvasid].drawString("E", 120 + 42, 140, 2);
canvas[canvasid].drawString("S", 120, 140 + 42, 2);
canvas[canvasid].drawString("W", 120 - 42, 140, 2);
canvas[canvasid].drawString("N", 120, 140 - 42);
canvas[canvasid].drawString("E", 120 + 42, 140);
canvas[canvasid].drawString("S", 120, 140 + 42);
canvas[canvasid].drawString("W", 120 - 42, 140);

canvas[canvasid].drawCircle(120, 140, 30, TFT_DARKGREY);

Expand Down

0 comments on commit 13e51cd

Please sign in to comment.