Skip to content

Commit

Permalink
Fix UBL mesh edit grid display (MarlinFirmware#17897)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpruvot authored and HairingX committed Jun 16, 2021
1 parent c1f41e5 commit 62bf9ab
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Marlin/src/lcd/menu/menu_ubl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -484,7 +482,8 @@ void _lcd_ubl_output_map_lcd() {

if (ui.should_draw()) {
ui.ubl_plot(x_plot, y_plot);
ubl_map_move_to_xy(); // Move to new location
if (!planner.movesplanned())
ubl_map_move_to_xy(); // Move to new location
}
}

Expand Down

0 comments on commit 62bf9ab

Please sign in to comment.