Browse Source

Fix 320x240 touch buttons Y (#20079)

Tanguy Pruvot 4 years ago
parent
commit
a70fdfaeba
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/touch/touch_buttons.h

+ 1
- 1
Marlin/src/lcd/touch/touch_buttons.h View File

@@ -47,7 +47,7 @@
47 47
 #define BUTTONC_X_LO BUTTONB_X_HI + BUTTON_SPACING
48 48
 #define BUTTONC_X_HI BUTTONC_X_LO + BUTTON_WIDTH - 1
49 49
 
50
-#define BUTTON_Y_HI (TFT_HEIGHT) - (BUTTON_SPACING / 2)
50
+#define BUTTON_Y_HI (TFT_HEIGHT) - BUTTON_SPACING
51 51
 #define BUTTON_Y_LO BUTTON_Y_HI - BUTTON_HEIGHT
52 52
 
53 53
 class TouchButtons {

Loading…
Cancel
Save