Skip to content

Commit

Permalink
docs(config example): Distinguish between unhold and start feed in de…
Browse files Browse the repository at this point in the history
…fault icon config
  • Loading branch information
Billiam committed Aug 24, 2022
1 parent 2ec30fd commit 189c39c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/public/config.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,9 @@
],
"bgColor": 5,
"disabled": "!cnc.connected",
"icon": "fluent-ui/hand_right.png",
"icon": "default/small_hand_right.png",
"if": "!cnc.hold",
"text": "Hold",
"textAlignment": "bottom center"
},
"holdScene": {
Expand Down Expand Up @@ -613,6 +614,7 @@
],
"bgColor": 5,
"disabled": "!gcode.gcode || cnc.running",
"if": "!cnc.paused",
"icon": "fluent-ui/play.png"
},
"positionScene": {
Expand Down Expand Up @@ -1201,8 +1203,10 @@
}
],
"bgColor": 3,
"icon": "fluent-ui-filled/hand_right.png",
"if": "cnc.feedPaused"
"icon": "default/small_hand_right_filled.png",
"if": "cnc.feedPaused",
"text": "Start feed",
"textAlignment": "bottom center"
},
"statusScene": {
"actions": [
Expand Down Expand Up @@ -1268,8 +1272,10 @@
}
],
"bgColor": 3,
"icon": "fluent-ui-filled/hand_right.png",
"if": "cnc.hold"
"icon": "default/small_hand_right_filled.png",
"if": "cnc.hold && !cnc.feedPaused",
"text": "Unhold",
"textAlignment": "bottom center"
},
"unlock": {
"actions": [
Expand Down Expand Up @@ -1582,7 +1588,7 @@
"buttons": [
[
"back",
["hold", "startFeed", "unhold"],
["hold", "unhold", "startFeed"],
["feedPauseReason", "pauseReason"],
["stopFeed", "error", "alarm"],
["machinePosition", "workPosition", "disconnected"]
Expand Down
Binary file added src/public/icons/default/small_hand_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/public/icons/default/small_hand_right_filled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 189c39c

Please sign in to comment.