mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-06 21:54:44 +00:00
Small changes for EInk to not crowd elements
This commit is contained in:
parent
3a384255b0
commit
7e23ccaaf1
@ -601,7 +601,11 @@ void UIRenderer::drawDeviceFocused(OLEDDisplay *display, OLEDDisplayUiState *sta
|
|||||||
|
|
||||||
int chutil_bar_width = (isHighResolution) ? 100 : 50;
|
int chutil_bar_width = (isHighResolution) ? 100 : 50;
|
||||||
if (!config.bluetooth.enabled) {
|
if (!config.bluetooth.enabled) {
|
||||||
|
#if defined(USE_EINK)
|
||||||
|
chutil_bar_width = (isHighResolution) ? 50 : 30;
|
||||||
|
#else
|
||||||
chutil_bar_width = (isHighResolution) ? 80 : 40;
|
chutil_bar_width = (isHighResolution) ? 80 : 40;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
int chutil_bar_height = (isHighResolution) ? 12 : 7;
|
int chutil_bar_height = (isHighResolution) ? 12 : 7;
|
||||||
int extraoffset = (isHighResolution) ? 6 : 3;
|
int extraoffset = (isHighResolution) ? 6 : 3;
|
||||||
|
Loading…
Reference in New Issue
Block a user