Skip to content

Commit

Permalink
🚸 Fix DOGM centering (MarlinFirmware#26415)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellensp authored and eoyilmaz committed Nov 21, 2023
1 parent 5738a76 commit 8cb4c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/dogm/marlinui_DOGM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8cb4c79

Please sign in to comment.