Fix manual move position display

Manual moves now correctly include the workspace offset.
This commit is contained in:
Scott Lahteine 2018-02-28 17:33:23 -06:00
parent 8c03ce4d80
commit 8bffb26c23

View file

@ -2964,11 +2964,11 @@ void kill_screen(const char* lcd_msg) {
}
encoderPosition = 0;
if (lcdDrawUpdate) {
const float pos = (processing_manual_move ? destination[axis] : current_position[axis]
const float pos = NATIVE_TO_LOGICAL(processing_manual_move ? destination[axis] : current_position[axis]
#if IS_KINEMATIC
+ manual_move_offset
#endif
);
, axis);
lcd_implementation_drawedit(name, move_menu_scale >= 0.1 ? ftostr41sign(pos) : ftostr43sign(pos));
}
}