mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-09 06:32:06 +00:00
Adjust Nodelist Center Divider
Adjust Nodelist Center Divider
This commit is contained in:
parent
d83ac30d3c
commit
f7d075a951
@ -151,7 +151,7 @@ void retrieveAndSortNodes(std::vector<NodeEntry> &nodeList)
|
|||||||
void drawColumnSeparator(OLEDDisplay *display, int16_t x, int16_t yStart, int16_t yEnd)
|
void drawColumnSeparator(OLEDDisplay *display, int16_t x, int16_t yStart, int16_t yEnd)
|
||||||
{
|
{
|
||||||
int columnWidth = display->getWidth() / 2;
|
int columnWidth = display->getWidth() / 2;
|
||||||
int separatorX = x + columnWidth - 1;
|
int separatorX = x + columnWidth - 2;
|
||||||
for (int y = yStart; y <= yEnd; y += 2) {
|
for (int y = yStart; y <= yEnd; y += 2) {
|
||||||
display->setPixel(separatorX, y);
|
display->setPixel(separatorX, y);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user