mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-13 16:55:08 +00:00
Line Spacing bound to isHighResolution
This commit is contained in:
parent
2de08bebdc
commit
bdc1df9f5c
@ -315,7 +315,7 @@ const int *getTextPositions(OLEDDisplay *display)
|
|||||||
{
|
{
|
||||||
static int textPositions[7]; // Static array that persists beyond function scope
|
static int textPositions[7]; // Static array that persists beyond function scope
|
||||||
|
|
||||||
if (display->getHeight() > 64) {
|
if (isHighResolution) {
|
||||||
textPositions[0] = textZeroLine;
|
textPositions[0] = textZeroLine;
|
||||||
textPositions[1] = textFirstLine_medium;
|
textPositions[1] = textFirstLine_medium;
|
||||||
textPositions[2] = textSecondLine_medium;
|
textPositions[2] = textSecondLine_medium;
|
||||||
|
Loading…
Reference in New Issue
Block a user