fix layout help text. use api probe definition
This commit is contained in:
parent
8c8138f662
commit
9be35a21f6
3 changed files with 3 additions and 2 deletions
|
|
@ -239,7 +239,7 @@
|
||||||
if (dev) {
|
if (dev) {
|
||||||
let file = $('print-filename').value;
|
let file = $('print-filename').value;
|
||||||
fetch(
|
fetch(
|
||||||
`https://live.grid.space/api/grid_send?uuid=${uuid}&file=${encodeURIComponent(file + "." + fileext)}`,
|
`${API.probe.live}/api/grid_send?uuid=${uuid}&file=${encodeURIComponent(file + "." + fileext)}`,
|
||||||
{method: "POST", body: gcode}
|
{method: "POST", body: gcode}
|
||||||
)
|
)
|
||||||
.then(t => t.text())
|
.then(t => t.text())
|
||||||
|
|
|
||||||
|
|
@ -251,6 +251,7 @@
|
||||||
clear: clearPrint
|
clear: clearPrint
|
||||||
},
|
},
|
||||||
probe: {
|
probe: {
|
||||||
|
live : "https://live.grid.space",
|
||||||
grid : function() { return false },
|
grid : function() { return false },
|
||||||
local : function() { return false }
|
local : function() { return false }
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -128,7 +128,7 @@ kiri.lang['en-us'] = {
|
||||||
op_alig_s: "align top",
|
op_alig_s: "align top",
|
||||||
op_alig_l: "align parts to the\ntallest part when\nno stock is set",
|
op_alig_l: "align parts to the\ntallest part when\nno stock is set",
|
||||||
op_auto_s: "auto layout",
|
op_auto_s: "auto layout",
|
||||||
op_auto_l: "automatically layout platform\nwhen new items added\nor when arrange clicked\nmore than once",
|
op_auto_l: "automatically layout platform\nwhen new items added",
|
||||||
op_free_s: "free layout",
|
op_free_s: "free layout",
|
||||||
op_free_l: "permit dragable layout\nno effect in laser mode",
|
op_free_l: "permit dragable layout\nno effect in laser mode",
|
||||||
op_invr_s: "invert zoom",
|
op_invr_s: "invert zoom",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue