Cancel Objects followup

This commit is contained in:
Scott Lahteine
2019-10-25 19:49:48 -05:00
parent e690471739
commit 600429a067
8 changed files with 43 additions and 23 deletions

View File

@@ -365,12 +365,6 @@ class MenuItem_bool {
++_thisItemNr; \
} while(0)
#define MENU_ITEM_ADDON_START(X) do{ \
if (ui.should_draw() && _menuLineNr == _thisItemNr - 1) { \
SETCURSOR(X, _lcdLineNr)
#define MENU_ITEM_ADDON_END() } }while(0)
#define STATIC_ITEM(LABEL, V...) STATIC_ITEM_P(GET_TEXT(LABEL), ##V)
#define MENU_ITEM_P(TYPE, PLABEL, V...) _MENU_ITEM_P(TYPE, false, PLABEL, ##V)