From 235ad4dd9d6069924c8447e3fcacefac52b8c3b9 Mon Sep 17 00:00:00 2001 From: ellensp <530024+ellensp@users.noreply.github.com> Date: Sun, 12 Nov 2023 19:25:51 +1300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20Fix=20DOGM=20centering=20(#26415?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/lcd/dogm/marlinui_DOGM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/lcd/dogm/marlinui_DOGM.cpp b/Marlin/src/lcd/dogm/marlinui_DOGM.cpp index 30258f0d48..d1f6851345 100644 --- a/Marlin/src/lcd/dogm/marlinui_DOGM.cpp +++ b/Marlin/src/lcd/dogm/marlinui_DOGM.cpp @@ -423,7 +423,7 @@ void MarlinUI::clear_lcd() { } // Automatically cleared by Picture Loop int8_t vlen = vstr ? utf8_strlen(vstr) : 0; bool mv_colon = false; - if (vlen) { + if (vlen && !center) { // Move the leading colon from the value to the label below mv_colon = (*vstr == ':'); // Shorter value, wider label