Fixes #6721 - Tests needed
This commit is contained in:
@@ -24,7 +24,7 @@ bool menuTextView(event_t event)
|
||||
{
|
||||
static int lines_count;
|
||||
|
||||
drawMenuTemplate(STR_TEXT_VIEWER, ICON_OPENTX);
|
||||
drawMenuTemplate(STR_TEXT_VIEWER, ICON_OPENTX, nullptr, OPTION_MENU_NO_SCROLLBAR);
|
||||
|
||||
switch (event) {
|
||||
case EVT_ENTRY:
|
||||
@@ -42,7 +42,7 @@ bool menuTextView(event_t event)
|
||||
break;
|
||||
|
||||
case EVT_ROTARY_RIGHT:
|
||||
if (menuVerticalOffset+NUM_BODY_LINES >= lines_count)
|
||||
if (menuVerticalOffset + NUM_BODY_LINES >= lines_count)
|
||||
break;
|
||||
else
|
||||
++menuVerticalOffset;
|
||||
|
||||
Reference in New Issue
Block a user