mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-19 17:22:59 +00:00
Provide some extra spacing for low hanging characters in messages
This commit is contained in:
@@ -645,6 +645,7 @@ void NotificationRenderer::drawNotificationBox(OLEDDisplay *display, OLEDDisplay
|
|||||||
boxWidth += (isHighResolution) ? 4 : 2;
|
boxWidth += (isHighResolution) ? 4 : 2;
|
||||||
}
|
}
|
||||||
int16_t boxTop = (display->height() / 2) - (boxHeight / 2);
|
int16_t boxTop = (display->height() / 2) - (boxHeight / 2);
|
||||||
|
boxHeight += (isHighResolution) ? 2 : 1;
|
||||||
|
|
||||||
// === Draw Box ===
|
// === Draw Box ===
|
||||||
display->setColor(BLACK);
|
display->setColor(BLACK);
|
||||||
|
|||||||
Reference in New Issue
Block a user