🚸 Fix DOGM centering (#26415)
This commit is contained in:
@@ -423,7 +423,7 @@ void MarlinUI::clear_lcd() { } // Automatically cleared by Picture Loop
|
|||||||
int8_t vlen = vstr ? utf8_strlen(vstr) : 0;
|
int8_t vlen = vstr ? utf8_strlen(vstr) : 0;
|
||||||
|
|
||||||
bool mv_colon = false;
|
bool mv_colon = false;
|
||||||
if (vlen) {
|
if (vlen && !center) {
|
||||||
// Move the leading colon from the value to the label below
|
// Move the leading colon from the value to the label below
|
||||||
mv_colon = (*vstr == ':');
|
mv_colon = (*vstr == ':');
|
||||||
// Shorter value, wider label
|
// Shorter value, wider label
|
||||||
|
Reference in New Issue
Block a user