This commit is contained in:
Jonathan Bennett 2025-06-25 11:28:45 -05:00
parent 94904cb6a7
commit 9446f07c4d

View File

@ -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
} }
} }