mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 22:22:05 +00:00
Update Screen.cpp
This commit is contained in:
parent
c271515fb0
commit
c693cd59a9
@ -2080,7 +2080,6 @@ static void drawDistanceScreen(OLEDDisplay *display, OLEDDisplayUiState *state,
|
|||||||
// ***********************
|
// ***********************
|
||||||
void drawCommonHeader(OLEDDisplay *display, int16_t x, int16_t y)
|
void drawCommonHeader(OLEDDisplay *display, int16_t x, int16_t y)
|
||||||
{
|
{
|
||||||
// Shift header down to avoid clipping on high-DPI screens
|
|
||||||
constexpr int HEADER_OFFSET_Y = 2;
|
constexpr int HEADER_OFFSET_Y = 2;
|
||||||
y += HEADER_OFFSET_Y;
|
y += HEADER_OFFSET_Y;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user