Tweak dimensions for Canned Message Notifications (#4924)

This commit is contained in:
todd-herbert 2024-10-02 23:37:08 +13:00 committed by GitHub
parent 18f12584ab
commit b8044c4983
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
} }