mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 18:22:32 +00:00
Update src/graphics/niche/InkHUD/Applets/Bases/Map/MapApplet.cpp
makes sense, applying did not cause any visible issues. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -111,7 +111,7 @@ void InkHUD::MapApplet::onRender()
|
|||||||
printAt(vertBarX + (topLabelW / 2) + 1, topLabelY + (topLabelH / 2), vertTopLabel, CENTER, MIDDLE);
|
printAt(vertBarX + (topLabelW / 2) + 1, topLabelY + (topLabelH / 2), vertTopLabel, CENTER, MIDDLE);
|
||||||
|
|
||||||
char vertBottomLabel[32];
|
char vertBottomLabel[32];
|
||||||
formatDistance(horizMeters, vertBottomLabel, sizeof(vertBottomLabel));
|
formatDistance(vertMeters, vertBottomLabel, sizeof(vertBottomLabel));
|
||||||
int16_t bottomLabelY = vertBarBottom + 4;
|
int16_t bottomLabelY = vertBarBottom + 4;
|
||||||
int16_t bottomLabelW = getTextWidth(vertBottomLabel);
|
int16_t bottomLabelW = getTextWidth(vertBottomLabel);
|
||||||
int16_t bottomLabelH = getFont().lineHeight();
|
int16_t bottomLabelH = getFont().lineHeight();
|
||||||
|
|||||||
Reference in New Issue
Block a user