Fix UBL mesh edit grid display (#17897)
This commit is contained in:
parent
34a2fd7b09
commit
8fd3af0c79
1 changed files with 2 additions and 3 deletions
|
@ -438,8 +438,6 @@ void sync_plan_position();
|
|||
|
||||
void _lcd_ubl_output_map_lcd() {
|
||||
|
||||
if (planner.movesplanned()) return;
|
||||
|
||||
static int16_t step_scaler = 0;
|
||||
|
||||
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()) {
|
||||
ui.ubl_plot(x_plot, y_plot);
|
||||
if (!planner.movesplanned())
|
||||
ubl_map_move_to_xy(); // Move to new location
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue