pull/4/head
DiSlord 5 years ago
parent ca6d982271
commit 21f87e8f3c

@ -1802,9 +1802,6 @@ draw_menu_buttons(const menuitem_t *menu)
} }
y += MENU_BUTTON_HEIGHT; y += MENU_BUTTON_HEIGHT;
} }
// Not erase Form menu (used full screen clear)
if (menu[i].type & MT_FORM)
return;
// Cleanup other buttons (less flicker) // Cleanup other buttons (less flicker)
for (; i < MENU_BUTTON_MAX; i++, y+=MENU_BUTTON_HEIGHT) for (; i < MENU_BUTTON_MAX; i++, y+=MENU_BUTTON_HEIGHT)
ili9341_fill(LCD_WIDTH-MENU_BUTTON_WIDTH, y, MENU_BUTTON_WIDTH, MENU_BUTTON_HEIGHT, DEFAULT_BG_COLOR); ili9341_fill(LCD_WIDTH-MENU_BUTTON_WIDTH, y, MENU_BUTTON_WIDTH, MENU_BUTTON_HEIGHT, DEFAULT_BG_COLOR);

Loading…
Cancel
Save

Powered by TurnKey Linux.