diff --git a/tasmota/tasmota_xdrv_driver/xdrv_13_display.ino b/tasmota/tasmota_xdrv_driver/xdrv_13_display.ino index a7afe6d47d99..4ef3786f6c3d 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_13_display.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_13_display.ino @@ -2369,6 +2369,9 @@ void Draw_RGB_Bitmap(char *file, uint16_t xp, uint16_t yp, uint8_t scale, bool i yp++; } #endif + if (scale) { + if (renderer) renderer->drawRect(xp, yp, xsize, ysize, GetColorFromIndex(scale)); + } fp.close(); } else if (!strcmp(estr,"jpg") || !strcmp(estr,"jpeg")) { // jpeg files on ESP32 with more memory