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