mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-02 20:05:52 +00:00
Fix warning
This commit is contained in:
parent
4d92dea461
commit
2e8aecd52d
@ -407,7 +407,7 @@ void NotificationRenderer::drawNotificationBox(OLEDDisplay *display, OLEDDisplay
|
|||||||
// === Scroll Bar (Thicker, inside box, not over title) ===
|
// === Scroll Bar (Thicker, inside box, not over title) ===
|
||||||
if (totalLines > visibleTotalLines) {
|
if (totalLines > visibleTotalLines) {
|
||||||
const uint8_t scrollBarWidth = 5;
|
const uint8_t scrollBarWidth = 5;
|
||||||
const uint8_t scrollPadding = 2;
|
// const uint8_t scrollPadding = 2;
|
||||||
|
|
||||||
int16_t scrollBarX = boxLeft + boxWidth - scrollBarWidth - 2;
|
int16_t scrollBarX = boxLeft + boxWidth - scrollBarWidth - 2;
|
||||||
int16_t scrollBarY = boxTop + vPadding + effectiveLineHeight; // start after title line
|
int16_t scrollBarY = boxTop + vPadding + effectiveLineHeight; // start after title line
|
||||||
|
Loading…
Reference in New Issue
Block a user