From dbd3e1095924ec92a39d10fbaa3e130a9e211363 Mon Sep 17 00:00:00 2001
From: Chris <52449218+shadow578@users.noreply.github.com>
Date: Mon, 20 May 2024 05:53:45 +0200
Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Solid=20background=20for=20DWIN?=
 =?UTF-8?q?=5FMARLINUI=20text=20(#27029)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Marlin/src/lcd/menu/menu_bed_tramming.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Marlin/src/lcd/menu/menu_bed_tramming.cpp b/Marlin/src/lcd/menu/menu_bed_tramming.cpp
index f33b8b812ce..d7497638080 100644
--- a/Marlin/src/lcd/menu/menu_bed_tramming.cpp
+++ b/Marlin/src/lcd/menu/menu_bed_tramming.cpp
@@ -176,6 +176,9 @@ static void _lcd_goto_next_corner() {
 
     uint8_t cy = TERN(TFT_COLOR_UI, 3, LCD_HEIGHT - 1), y = LCD_ROW_Y(cy);
 
+    // Enable font background for DWIN
+    TERN_(IS_DWIN_MARLINUI, dwin_font.solid = true);
+
     // Display # of good points found vs total needed
     if (PAGE_CONTAINS(y - (MENU_FONT_HEIGHT), y)) {
       SETCURSOR(TERN(TFT_COLOR_UI, 2, 0), cy);