COLOR_UI without TOUCH_SCREEN 👍🏻 (#20178)
This commit is contained in:
@ -169,7 +169,9 @@
|
||||
if (ui.should_draw()) {
|
||||
MenuItem_static::draw(1, GET_TEXT(MSG_LEVEL_BED_WAITING));
|
||||
// Color UI needs a control to detect a touch
|
||||
TERN_(HAS_GRAPHICAL_TFT, touch.add_control(CLICK, 0, 0, TFT_WIDTH, TFT_HEIGHT));
|
||||
#if BOTH(TOUCH_SCREEN, HAS_GRAPHICAL_TFT)
|
||||
touch.add_control(CLICK, 0, 0, TFT_WIDTH, TFT_HEIGHT);
|
||||
#endif
|
||||
}
|
||||
if (ui.use_click()) {
|
||||
manual_probe_index = 0;
|
||||
|
Reference in New Issue
Block a user