Match select item to encoder direction (#14673)
This commit is contained in:
parent
e5d73f68c8
commit
eb7840dabb
@ -1024,6 +1024,8 @@ void MarlinUI::draw_status_screen() {
|
||||
}
|
||||
|
||||
void draw_edit_screen(PGM_P const pstr, const char* const value/*=nullptr*/) {
|
||||
ui.encoder_direction_normal();
|
||||
|
||||
lcd_moveto(0, 1);
|
||||
lcd_put_u8str_P(pstr);
|
||||
if (value != nullptr) {
|
||||
|
@ -400,8 +400,9 @@ void MarlinUI::clear_lcd() { } // Automatically cleared by Picture Loop
|
||||
}
|
||||
|
||||
void draw_edit_screen(PGM_P const pstr, const char* const value/*=nullptr*/) {
|
||||
const uint8_t labellen = utf8_strlen_P(pstr), vallen = utf8_strlen(value);
|
||||
ui.encoder_direction_normal();
|
||||
|
||||
const uint8_t labellen = utf8_strlen_P(pstr), vallen = utf8_strlen(value);
|
||||
bool extra_row = labellen > LCD_WIDTH - 2 - vallen;
|
||||
|
||||
#if ENABLED(USE_BIG_EDIT_FONT)
|
||||
|
Loading…
Reference in New Issue
Block a user