mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-03 20:30:43 +00:00
trunk
This commit is contained in:
parent
94904cb6a7
commit
9446f07c4d
@ -214,12 +214,7 @@ void NotificationRenderer::drawAlertBannerOverlay(OLEDDisplay *display, OLEDDisp
|
|||||||
if (i == lineCount - 1) {
|
if (i == lineCount - 1) {
|
||||||
const uint8_t extraOffset = 4; // you can tweak this value (e.g. 5 or 6 for more space)
|
const uint8_t extraOffset = 4; // you can tweak this value (e.g. 5 or 6 for more space)
|
||||||
int16_t separatorY = lineY + extraOffset - 1;
|
int16_t separatorY = lineY + extraOffset - 1;
|
||||||
display->drawLine(
|
display->drawLine(boxLeft + padding, separatorY, boxLeft + boxWidth - padding, separatorY);
|
||||||
boxLeft + padding,
|
|
||||||
separatorY,
|
|
||||||
boxLeft + boxWidth - padding,
|
|
||||||
separatorY
|
|
||||||
);
|
|
||||||
lineY = separatorY + 1; // ensure options appear below the line
|
lineY = separatorY + 1; // ensure options appear below the line
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user