Skip to content

Commit

Permalink
docs(config example): Use different background for play button when i…
Browse files Browse the repository at this point in the history
…t means 'unpause' in default config
  • Loading branch information
Billiam committed Aug 24, 2022
1 parent 189c39c commit 4c6176d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/public/config.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,18 @@
"bgColor": 4,
"icon": "fluent-ui/checkmark_circle.png"
},
"continue": {
"actions": [
{
"action": "run",
"event": "hold"
}
],
"bgColor": 3,
"disabled": "!gcode.gcode || cnc.running",
"if": "cnc.paused",
"icon": "fluent-ui/play.png"
},
"dimensions": {
"if": "gcode.dimensions",
"text": "Dimensions\nX: {{gcode.displayDimensions.width}}\nY: {{gcode.displayDimensions.depth}}\nZ: {{gcode.displayDimensions.height}}",
Expand Down Expand Up @@ -1594,7 +1606,7 @@
["machinePosition", "workPosition", "disconnected"]
],
["loadGcode", "preview", null, null, "runStatus"],
["play", "pause", "stop", "clearGcode", "speedScene"]
[["play", "continue"], "pause", "stop", "clearGcode", "speedScene"]
]
},
"zero": {
Expand Down

0 comments on commit 4c6176d

Please sign in to comment.