|
@@ -904,21 +904,21 @@ void CrealityDWINClass::Draw_Status_Area(bool icons/*=false*/) {
|
904
|
904
|
if ((update_x = axis_should_home(X_AXIS) && ui.get_blink()))
|
905
|
905
|
DWIN_Draw_String(true, DWIN_FONT_MENU, GetColor(eeprom_settings.coordinates_text, Color_White), Color_Bg_Black, 35, 459, F(" -?- "));
|
906
|
906
|
else
|
907
|
|
- DWIN_Draw_FloatValue(true, true, 0, DWIN_FONT_MENU, GetColor(eeprom_settings.coordinates_text, Color_White), Color_Bg_Black, 3, 1, 35, 459, current_position.x * 10);
|
|
907
|
+ DWIN_Draw_FloatValue(true, true, 0, DWIN_FONT_MENU, GetColor(eeprom_settings.coordinates_text, Color_White), Color_Bg_Black, 3, 1, 35, 459, current_position.x);
|
908
|
908
|
}
|
909
|
909
|
if (update_y) {
|
910
|
910
|
y = current_position.y;
|
911
|
911
|
if ((update_y = axis_should_home(Y_AXIS) && ui.get_blink()))
|
912
|
912
|
DWIN_Draw_String(true, DWIN_FONT_MENU, GetColor(eeprom_settings.coordinates_text, Color_White), Color_Bg_Black, 120, 459, F(" -?- "));
|
913
|
913
|
else
|
914
|
|
- DWIN_Draw_FloatValue(true, true, 0, DWIN_FONT_MENU, GetColor(eeprom_settings.coordinates_text, Color_White), Color_Bg_Black, 3, 1, 120, 459, current_position.y * 10);
|
|
914
|
+ DWIN_Draw_FloatValue(true, true, 0, DWIN_FONT_MENU, GetColor(eeprom_settings.coordinates_text, Color_White), Color_Bg_Black, 3, 1, 120, 459, current_position.y);
|
915
|
915
|
}
|
916
|
916
|
if (update_z) {
|
917
|
917
|
z = current_position.z;
|
918
|
918
|
if ((update_z = axis_should_home(Z_AXIS) && ui.get_blink()))
|
919
|
919
|
DWIN_Draw_String(true, DWIN_FONT_MENU, GetColor(eeprom_settings.coordinates_text, Color_White), Color_Bg_Black, 205, 459, F(" -?- "));
|
920
|
920
|
else
|
921
|
|
- DWIN_Draw_FloatValue(true, true, 0, DWIN_FONT_MENU, GetColor(eeprom_settings.coordinates_text, Color_White), Color_Bg_Black, 3, 2, 205, 459, (current_position.z>=0) ? current_position.z * 100 : 0);
|
|
921
|
+ DWIN_Draw_FloatValue(true, true, 0, DWIN_FONT_MENU, GetColor(eeprom_settings.coordinates_text, Color_White), Color_Bg_Black, 3, 2, 205, 459, (current_position.z>=0) ? current_position.z : 0);
|
922
|
922
|
}
|
923
|
923
|
DWIN_UpdateLCD();
|
924
|
924
|
}
|