Przeglądaj źródła

Fix DOGM / TMF buttons Y position (#18245)

Tanguy Pruvot 4 lat temu
rodzic
commit
3eda8b5a8f
No account linked to committer's email address

+ 1
- 1
Marlin/src/lcd/dogm/u8g_dev_tft_320x240_upscale_from_128x64.cpp Wyświetl plik

@@ -546,7 +546,7 @@ static const uint16_t ili9341_init[] = {
546 546
   #define BUTTONC_X_LO (242 / 2) * (FSMC_UPSCALE)
547 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 550
   #define BUTTON_Y_HI (BUTTON_Y_LO + (FSMC_UPSCALE) * BUTTON_SIZE_Y - 1)
551 551
 
552 552
   void drawImage(const uint8_t *data, u8g_t *u8g, u8g_dev_t *dev, uint16_t length, uint16_t height, uint16_t color) {

Ładowanie…
Anuluj
Zapisz