Fix manual move position display
Manual moves now correctly include the workspace offset.
This commit is contained in:
parent
8c03ce4d80
commit
8bffb26c23
|
@ -2964,11 +2964,11 @@ void kill_screen(const char* lcd_msg) {
|
||||||
}
|
}
|
||||||
encoderPosition = 0;
|
encoderPosition = 0;
|
||||||
if (lcdDrawUpdate) {
|
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
|
#if IS_KINEMATIC
|
||||||
+ manual_move_offset
|
+ manual_move_offset
|
||||||
#endif
|
#endif
|
||||||
);
|
, axis);
|
||||||
lcd_implementation_drawedit(name, move_menu_scale >= 0.1 ? ftostr41sign(pos) : ftostr43sign(pos));
|
lcd_implementation_drawedit(name, move_menu_scale >= 0.1 ? ftostr41sign(pos) : ftostr43sign(pos));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue