From bd6f6f3ae57d43c31b5a49be48e7147be53b9b31 Mon Sep 17 00:00:00 2001 From: gemu2015 Date: Sun, 17 Jan 2021 18:52:16 +0100 Subject: [PATCH] force opaque mode --- tasmota/xdrv_13_display.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasmota/xdrv_13_display.ino b/tasmota/xdrv_13_display.ino index a6e81b711..2eb3c942d 100755 --- a/tasmota/xdrv_13_display.ino +++ b/tasmota/xdrv_13_display.ino @@ -41,7 +41,7 @@ VButton *buttons[MAXBUTTONS]; uint16_t fg_color = 1; uint16_t bg_color = 0; uint8_t color_type = COLOR_BW; -uint8_t auto_draw=1; +uint8_t auto_draw = 1; const uint8_t DISPLAY_MAX_DRIVERS = 16; // Max number of display drivers/models supported by xdsp_interface.ino const uint8_t DISPLAY_MAX_COLS = 64; // Max number of columns allowed with command DisplayCols @@ -1284,6 +1284,8 @@ void DisplayInitDriver(void) if (renderer) { renderer->setTextFont(Settings.display_font); renderer->setTextSize(Settings.display_size); + // force opaque mode + renderer->setDrawMode(0); }