Browse Source

Fix DOGM / TMF buttons Y position (#18245)

Tanguy Pruvot 4 years ago
parent
commit
3eda8b5a8f
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/dogm/u8g_dev_tft_320x240_upscale_from_128x64.cpp

+ 1
- 1
Marlin/src/lcd/dogm/u8g_dev_tft_320x240_upscale_from_128x64.cpp View File

546
   #define BUTTONC_X_LO (242 / 2) * (FSMC_UPSCALE)
546
   #define BUTTONC_X_LO (242 / 2) * (FSMC_UPSCALE)
547
   #define BUTTONC_X_HI (BUTTONC_X_LO + (FSMC_UPSCALE) * BUTTON_SIZE_X - 1)
547
   #define BUTTONC_X_HI (BUTTONC_X_LO + (FSMC_UPSCALE) * BUTTON_SIZE_X - 1)
548
 
548
 
549
-  #define BUTTON_Y_LO (170 / 2) * (FSMC_UPSCALE)
549
+  #define BUTTON_Y_LO (184 / 2) * (FSMC_UPSCALE)
550
   #define BUTTON_Y_HI (BUTTON_Y_LO + (FSMC_UPSCALE) * BUTTON_SIZE_Y - 1)
550
   #define BUTTON_Y_HI (BUTTON_Y_LO + (FSMC_UPSCALE) * BUTTON_SIZE_Y - 1)
551
 
551
 
552
   void drawImage(const uint8_t *data, u8g_t *u8g, u8g_dev_t *dev, uint16_t length, uint16_t height, uint16_t color) {
552
   void drawImage(const uint8_t *data, u8g_t *u8g, u8g_dev_t *dev, uint16_t length, uint16_t height, uint16_t color) {

Loading…
Cancel
Save