Skip to content

Commit

Permalink
Fix 320x240 touch buttons Y (MarlinFirmware#20079)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpruvot authored and FhlostonParadise committed Nov 21, 2020
1 parent dd25504 commit 71110a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/touch/touch_buttons.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 71110a6

Please sign in to comment.