🚸 Fix DOGM centering (#26415)

This commit is contained in:
ellensp 2023-11-12 19:25:51 +13:00 committed by GitHub
parent d06923d0e7
commit 235ad4dd9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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