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:
HarukiToreda
2025-10-19 15:11:06 -04:00
committed by GitHub
parent 7afc6ef833
commit 5b9563a357

View File

@@ -111,7 +111,7 @@ void InkHUD::MapApplet::onRender()
printAt(vertBarX + (topLabelW / 2) + 1, topLabelY + (topLabelH / 2), vertTopLabel, CENTER, MIDDLE);
char vertBottomLabel[32];
formatDistance(horizMeters, vertBottomLabel, sizeof(vertBottomLabel));
formatDistance(vertMeters, vertBottomLabel, sizeof(vertBottomLabel));
int16_t bottomLabelY = vertBarBottom + 4;
int16_t bottomLabelW = getTextWidth(vertBottomLabel);
int16_t bottomLabelH = getFont().lineHeight();