mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Fix DOGM status message scrolling (#20557)
This commit is contained in:
parent
f0c29afe21
commit
e6c15eee45
@ -892,6 +892,10 @@ void MarlinUI::draw_status_message(const bool blink) {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// String is longer than the available space
|
// String is longer than the available space
|
||||||
|
if (blink != last_blink) {
|
||||||
|
last_blink = blink;
|
||||||
|
advance_status_scroll();
|
||||||
|
}
|
||||||
|
|
||||||
// Get a pointer to the next valid UTF8 character
|
// Get a pointer to the next valid UTF8 character
|
||||||
// and the string remaining length
|
// and the string remaining length
|
||||||
@ -911,11 +915,6 @@ void MarlinUI::draw_status_message(const bool blink) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (last_blink != blink) {
|
|
||||||
last_blink = blink;
|
|
||||||
advance_status_scroll();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#else // !STATUS_MESSAGE_SCROLLING
|
#else // !STATUS_MESSAGE_SCROLLING
|
||||||
|
Loading…
Reference in New Issue
Block a user