Black background for unused area

This commit is contained in:
Norbert Walter committed 2026-03-01 16:26:13 +00:00
1 parent 9cfa9ccf67
commit 44b318ea0c
1 file changed
+1
+1
View File
@@ -494,6 +494,7 @@ inline void displayFirstPage() {
inline void displayNextPage() { inline void displayNextPage() {
#ifdef DISPLAY_ST7796 #ifdef DISPLAY_ST7796
if (initDisplayShadowBuffer()) { if (initDisplayShadowBuffer()) {
getpaneldisplay().fillRect(0, 0, 480, 320, GxEPD_BLACK);
getdisplay().pushSprite(0, 0); getdisplay().pushSprite(0, 0);
} }
#else #else