Fix 320x240 touch buttons Y (#20079)
This commit is contained in:
parent
f17394d677
commit
a70fdfaeba
|
@ -47,7 +47,7 @@
|
||||||
#define BUTTONC_X_LO BUTTONB_X_HI + BUTTON_SPACING
|
#define BUTTONC_X_LO BUTTONB_X_HI + BUTTON_SPACING
|
||||||
#define BUTTONC_X_HI BUTTONC_X_LO + BUTTON_WIDTH - 1
|
#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
|
#define BUTTON_Y_LO BUTTON_Y_HI - BUTTON_HEIGHT
|
||||||
|
|
||||||
class TouchButtons {
|
class TouchButtons {
|
||||||
|
|
Loading…
Reference in a new issue