We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e748da commit ab767a4Copy full SHA for ab767a4
Marlin/src/inc/Conditionals_LCD.h
@@ -1620,9 +1620,11 @@
1620
#define HAS_UI_1024x600 1
1621
#endif
1622
#if ANY(HAS_UI_320x240, HAS_UI_480x320, HAS_UI_480x272)
1623
- #define LCD_HEIGHT TERN(TOUCH_SCREEN, 6, 7) // Fewer lines with touch buttons onscreen
1624
-#elif HAS_UI_240x320
1625
- #define LCD_HEIGHT TERN(TOUCH_SCREEN, 8, 6) // Fewer lines with touch buttons onscreen
+ #if ENABLED(TFT_COLOR_UI_PORTRAIT)
+ #define LCD_HEIGHT TERN(TOUCH_SCREEN, 6, 7) // Fewer lines with touch buttons onscreen
+ #else
1626
+ #define LCD_HEIGHT TERN(TOUCH_SCREEN, 8, 9) // Fewer lines with touch buttons onscreen
1627
+ #endif
1628
#elif HAS_UI_1024x600
1629
#define LCD_HEIGHT TERN(TOUCH_SCREEN, 12, 13) // Fewer lines with touch buttons onscreen
1630
0 commit comments