|
@ -652,7 +652,10 @@ void menu_item(const uint8_t row, bool sel ) { |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
menu_line(row, sel ? COLOR_SELECTION_BG : COLOR_BACKGROUND); |
|
|
menu_line(row, sel ? COLOR_SELECTION_BG : COLOR_BACKGROUND); |
|
|
TERN_(TOUCH_SCREEN, touch.add_control(sel ? CLICK : MENU_ITEM, 0, 4 + 45 * row, TFT_WIDTH, 43, encoderTopLine + row)); |
|
|
#if ENABLED(TOUCH_SCREEN) |
|
|
|
|
|
const TouchControlType tct = TERN(SINGLE_TOUCH_NAVIGATION, true, sel) ? CLICK : MENU_ITEM; |
|
|
|
|
|
touch.add_control(tct, 0, 4 + 45 * row, TFT_WIDTH, 43, encoderTopLine + row); |
|
|
|
|
|
#endif |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#if ENABLED(BABYSTEP_ZPROBE_OFFSET) |
|
|
#if ENABLED(BABYSTEP_ZPROBE_OFFSET) |
|
|