Fixes #6721 - Tests needed

This commit is contained in:
Bertrand Songis
2019-09-10 14:38:39 +02:00
parent 11baf9bc1a
commit 465674ca68
4 changed files with 33 additions and 28 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ void drawMenuTemplate(const char * title, uint8_t icon, const uint8_t * icons, u
lcdDrawSolidFilledRect(0, bodyTop, LCD_W, bodyBottom-bodyTop, TEXT_BGCOLOR);
// Scrollbar
if (!(options & OPTION_MENU_NO_SCROLLBAR) && linesCount>linesDisplayed) {
if (!(options & OPTION_MENU_NO_SCROLLBAR) && linesCount > linesDisplayed) {
drawVerticalScrollbar(DEFAULT_SCROLLBAR_X, bodyTop+3, bodyBottom-bodyTop-6, menuVerticalOffset, linesCount, linesDisplayed);
}
}