Browse Source

Fix UBL mesh edit grid display (#17897)

vanilla_fb_2.0.x
Tanguy Pruvot 5 years ago
committed by GitHub
parent
commit
8fd3af0c79
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Marlin/src/lcd/menu/menu_ubl.cpp

3
Marlin/src/lcd/menu/menu_ubl.cpp

@ -438,8 +438,6 @@ void sync_plan_position();
void _lcd_ubl_output_map_lcd() { void _lcd_ubl_output_map_lcd() {
if (planner.movesplanned()) return;
static int16_t step_scaler = 0; static int16_t step_scaler = 0;
if (ui.use_click()) return _lcd_ubl_map_lcd_edit_cmd(); if (ui.use_click()) return _lcd_ubl_map_lcd_edit_cmd();
@ -484,6 +482,7 @@ void _lcd_ubl_output_map_lcd() {
if (ui.should_draw()) { if (ui.should_draw()) {
ui.ubl_plot(x_plot, y_plot); ui.ubl_plot(x_plot, y_plot);
if (!planner.movesplanned())
ubl_map_move_to_xy(); // Move to new location ubl_map_move_to_xy(); // Move to new location
} }
} }

Loading…
Cancel
Save