Browse Source

Fix UBL mesh edit grid display (#17897)

Tanguy Pruvot 5 years ago
parent
commit
8fd3af0c79
No account linked to committer's email address
1 changed files with 2 additions and 3 deletions
  1. 2
    3
      Marlin/src/lcd/menu/menu_ubl.cpp

+ 2
- 3
Marlin/src/lcd/menu/menu_ubl.cpp View File

438
 
438
 
439
 void _lcd_ubl_output_map_lcd() {
439
 void _lcd_ubl_output_map_lcd() {
440
 
440
 
441
-  if (planner.movesplanned()) return;
442
-
443
   static int16_t step_scaler = 0;
441
   static int16_t step_scaler = 0;
444
 
442
 
445
   if (ui.use_click()) return _lcd_ubl_map_lcd_edit_cmd();
443
   if (ui.use_click()) return _lcd_ubl_map_lcd_edit_cmd();
484
 
482
 
485
   if (ui.should_draw()) {
483
   if (ui.should_draw()) {
486
     ui.ubl_plot(x_plot, y_plot);
484
     ui.ubl_plot(x_plot, y_plot);
487
-    ubl_map_move_to_xy();       // Move to new location
485
+    if (!planner.movesplanned())
486
+      ubl_map_move_to_xy();       // Move to new location
488
   }
487
   }
489
 }
488
 }
490
 
489
 

Loading…
Cancel
Save