From 21f87e8f3cc01775cccdf29c4136c6dfd766e4fe Mon Sep 17 00:00:00 2001 From: DiSlord Date: Mon, 20 Jul 2020 01:50:19 +0300 Subject: [PATCH] Fix bug --- ui.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ui.c b/ui.c index 411381d..1bce4d2 100644 --- a/ui.c +++ b/ui.c @@ -1802,9 +1802,6 @@ draw_menu_buttons(const menuitem_t *menu) } y += MENU_BUTTON_HEIGHT; } - // Not erase Form menu (used full screen clear) - if (menu[i].type & MT_FORM) - return; // Cleanup other buttons (less flicker) 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);