Fix 320x240 touch buttons Y (#20079)

This commit is contained in:
Tanguy Pruvot 2020-11-10 10:21:05 +01:00 committed by Scott Lahteine
parent ca730314e7
commit 367c447ff8

View File

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