|
|
@ -72,7 +72,7 @@ void NudgeNozzleScreen::onRedraw(draw_mode_t what) {
|
|
|
|
w.text_field(0, GET_TEXT_F(MSG_ZPROBE_ZOFFSET), str);
|
|
|
|
w.text_field(0, GET_TEXT_F(MSG_ZPROBE_ZOFFSET), str);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if EXTRUDERS > 1
|
|
|
|
#if HOTENDS > 1
|
|
|
|
format_position(str, getNozzleOffset_mm(X, E1), getNozzleOffset_mm(Y, E1), getNozzleOffset_mm(Z, E1));
|
|
|
|
format_position(str, getNozzleOffset_mm(X, E1), getNozzleOffset_mm(Y, E1), getNozzleOffset_mm(Z, E1));
|
|
|
|
w.text_field(0, GET_TEXT_F(MSG_OFFSETS_MENU), str);
|
|
|
|
w.text_field(0, GET_TEXT_F(MSG_OFFSETS_MENU), str);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
@ -99,8 +99,7 @@ bool NudgeNozzleScreen::onTouchHeld(uint8_t tag) {
|
|
|
|
case 8: screen_data.NudgeNozzleScreen.link_nozzles = !link; break;
|
|
|
|
case 8: screen_data.NudgeNozzleScreen.link_nozzles = !link; break;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
case 9: screen_data.NudgeNozzleScreen.show_offsets = !screen_data.NudgeNozzleScreen.show_offsets; break;
|
|
|
|
case 9: screen_data.NudgeNozzleScreen.show_offsets = !screen_data.NudgeNozzleScreen.show_offsets; break;
|
|
|
|
default:
|
|
|
|
default: return false;
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#if EXTRUDERS > 1 || HAS_BED_PROBE
|
|
|
|
#if EXTRUDERS > 1 || HAS_BED_PROBE
|
|
|
|
SaveSettingsDialogBox::settingsChanged();
|
|
|
|
SaveSettingsDialogBox::settingsChanged();
|
|
|
@ -112,9 +111,9 @@ bool NudgeNozzleScreen::onTouchEnd(uint8_t tag) {
|
|
|
|
if (tag == 1) {
|
|
|
|
if (tag == 1) {
|
|
|
|
SaveSettingsDialogBox::promptToSaveSettings();
|
|
|
|
SaveSettingsDialogBox::promptToSaveSettings();
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
} else {
|
|
|
|
|
|
|
|
return BaseNumericAdjustmentScreen::onTouchEnd(tag);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
return BaseNumericAdjustmentScreen::onTouchEnd(tag);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void NudgeNozzleScreen::onIdle() {
|
|
|
|
void NudgeNozzleScreen::onIdle() {
|
|
|
|