Use named styles in draw_menu_item_static
This commit is contained in:
@ -262,14 +262,14 @@ void _menu_move_distance(const AxisEnum axis, const screenFunc_t func, const int
|
||||
START_MENU();
|
||||
if (LCD_HEIGHT >= 4) {
|
||||
switch (axis) {
|
||||
case X_AXIS: STATIC_ITEM(MSG_MOVE_X, true, true); break;
|
||||
case Y_AXIS: STATIC_ITEM(MSG_MOVE_Y, true, true); break;
|
||||
case Z_AXIS: STATIC_ITEM(MSG_MOVE_Z, true, true); break;
|
||||
case X_AXIS: STATIC_ITEM(MSG_MOVE_X, SS_CENTER|SS_INVERT); break;
|
||||
case Y_AXIS: STATIC_ITEM(MSG_MOVE_Y, SS_CENTER|SS_INVERT); break;
|
||||
case Z_AXIS: STATIC_ITEM(MSG_MOVE_Z, SS_CENTER|SS_INVERT); break;
|
||||
default:
|
||||
#if ENABLED(MANUAL_E_MOVES_RELATIVE)
|
||||
manual_move_e_origin = current_position[E_AXIS];
|
||||
#endif
|
||||
STATIC_ITEM(MSG_MOVE_E, true, true);
|
||||
STATIC_ITEM(MSG_MOVE_E, SS_CENTER|SS_INVERT);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user