mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 10:19:59 +00:00
Tweak dimensions for Canned Message Notifications (#4924)
This commit is contained in:
parent
18f12584ab
commit
b8044c4983
@ -998,7 +998,7 @@ void CannedMessageModule::drawFrame(OLEDDisplay *display, OLEDDisplayUiState *st
|
|||||||
int16_t rssiY = 130;
|
int16_t rssiY = 130;
|
||||||
|
|
||||||
// If dislay is *slighly* too small for the original consants, squish up a bit
|
// If dislay is *slighly* too small for the original consants, squish up a bit
|
||||||
if (display->getHeight() < rssiY) {
|
if (display->getHeight() < rssiY + FONT_HEIGHT_SMALL) {
|
||||||
snrY = display->getHeight() - ((1.5) * FONT_HEIGHT_SMALL);
|
snrY = display->getHeight() - ((1.5) * FONT_HEIGHT_SMALL);
|
||||||
rssiY = display->getHeight() - ((2.5) * FONT_HEIGHT_SMALL);
|
rssiY = display->getHeight() - ((2.5) * FONT_HEIGHT_SMALL);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user