Completed changes for the "Move to zero" dialog

This commit is contained in:
David Carley
2022-08-23 07:42:45 +00:00
parent 5a65ffaba2
commit dded59535f
2 changed files with 5 additions and 1 deletions

View File

@@ -421,6 +421,10 @@ module.exports = {
SvelteComponents.showDialog("SetAxisPosition", { axis }); SvelteComponents.showDialog("SetAxisPosition", { axis });
}, },
showMoveToZeroDialog: function (axes) {
SvelteComponents.showDialog("MoveToZero", { axes });
},
show_toolpath_msg: function (axis) { show_toolpath_msg: function (axis) {
this.toolpath_msg[axis] = true; this.toolpath_msg[axis] = true;
}, },

View File

@@ -14,7 +14,7 @@
aria-describedby="move-to-zero-dialog-content" aria-describedby="move-to-zero-dialog-content"
> >
<Title id="move-to-zero-dialog-title"> <Title id="move-to-zero-dialog-title">
Move to ${(axes || "").toUpperCase()} origin? Move to {(axes || "").toUpperCase()} origin?
</Title> </Title>
<Actions> <Actions>