Browse Source

Menu tweak

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
a11ba51389
  1. 4
      Marlin/src/lcd/menu/menu.cpp

4
Marlin/src/lcd/menu/menu.cpp

@ -343,8 +343,10 @@ void scroll_screen(const uint8_t limit, const bool is_menu) {
#endif // BABYSTEP_ZPROBE_OFFSET #endif // BABYSTEP_ZPROBE_OFFSET
void _lcd_draw_homing() { void _lcd_draw_homing() {
if (ui.should_draw()) {
constexpr uint8_t line = (LCD_HEIGHT - 1) / 2; constexpr uint8_t line = (LCD_HEIGHT - 1) / 2;
if (ui.should_draw()) MenuItem_static::draw(line, GET_TEXT(MSG_LEVEL_BED_HOMING)); MenuItem_static::draw(line, GET_TEXT(MSG_LEVEL_BED_HOMING));
}
} }
#if ENABLED(LCD_BED_LEVELING) || (HAS_LEVELING && DISABLED(SLIM_LCD_MENUS)) #if ENABLED(LCD_BED_LEVELING) || (HAS_LEVELING && DISABLED(SLIM_LCD_MENUS))

Loading…
Cancel
Save