Skip to content

Commit b06bc66

Browse files
committed
UPD docs
1 parent 2cd3e9c commit b06bc66

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

‎docs/JSON_DOC.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,10 @@ Value | Type | Description
231231
`canSelectWhenInactive`<br/><sup class="internal">*Only used by editor*</sup><br/> ![Generic badge](https://img.shields.io/badge/Added_1.1.4-gray.svg) | Bool | Allow editor selections when the layer is not currently active.
232232
`doc`<br/><sup class="internal">*Only used by editor*</sup><br/> ![Generic badge](https://img.shields.io/badge/Added_1.2.5-gray.svg) | String&nbsp;*(can&nbsp;be&nbsp;`null`)* | User defined documentation for this element to provide help/tips to level designers.
233233
`excludedTags`<br/><sup class="only">Only *Entity layer*</sup><br/><sup class="internal">*Only used by editor*</sup><br/> ![Generic badge](https://img.shields.io/badge/Added_0.8.0-gray.svg) | Array&nbsp;of&nbsp;String | An array of tags to forbid some Entities in this layer
234+
`guideColor`<br/><sup class="internal">*Only used by editor*</sup><br/> ![Generic badge](https://img.shields.io/badge/Added_1.5.4-green.svg) | String&nbsp;*(can&nbsp;be&nbsp;`null`)* | Color of the optional "guide" grid
234235
`guideGridHei`<br/><sup class="internal">*Only used by editor*</sup><br/> ![Generic badge](https://img.shields.io/badge/Added_1.0.0-gray.svg) | Int | Height of the optional "guide" grid in pixels
235236
`guideGridWid`<br/><sup class="internal">*Only used by editor*</sup><br/> ![Generic badge](https://img.shields.io/badge/Added_1.0.0-gray.svg) | Int | Width of the optional "guide" grid in pixels
237+
`guideOpacity`<br/><sup class="internal">*Only used by editor*</sup><br/> ![Generic badge](https://img.shields.io/badge/Added_1.5.4-green.svg) | Float | Opacity of the optional "guide" grid
236238
`hideFieldsWhenInactive`<br/><sup class="internal">*Only used by editor*</sup><br/> ![Generic badge](https://img.shields.io/badge/Added_1.0.0-gray.svg) | Bool |
237239
`hideInList`<br/><sup class="internal">*Only used by editor*</sup><br/> ![Generic badge](https://img.shields.io/badge/Added_1.0.0-gray.svg) | Bool | Hide the layer from the list on the side of the editor view.
238240
`inactiveOpacity`<br/><sup class="internal">*Only used by editor*</sup><br/> ![Generic badge](https://img.shields.io/badge/Added_1.0.0-gray.svg) | Float | Alpha of this layer when it is not the active one.

‎docs/JSON_SCHEMA.json‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2489,6 +2489,7 @@
24892489
"excludedTags",
24902490
"guideGridHei",
24912491
"guideGridWid",
2492+
"guideOpacity",
24922493
"hideFieldsWhenInactive",
24932494
"hideInList",
24942495
"inactiveOpacity",
@@ -2502,6 +2503,12 @@
25022503
],
25032504
"additionalProperties": false,
25042505
"properties": {
2506+
"guideOpacity": {
2507+
"description": "Opacity of the optional \"guide\" grid",
2508+
"type": [
2509+
"number"
2510+
]
2511+
},
25052512
"pxOffsetX": {
25062513
"description": "X offset of the layer, in pixels (IMPORTANT: this should be added to the `LayerInstance` optional offset)",
25072514
"type": [
@@ -2691,6 +2698,13 @@
26912698
"integer"
26922699
]
26932700
},
2701+
"guideColor": {
2702+
"description": "Color of the optional \"guide\" grid",
2703+
"type": [
2704+
"string",
2705+
"null"
2706+
]
2707+
},
26942708
"requiredTags": {
26952709
"description": "An array of tags to filter Entities that can be added to this layer",
26962710
"items": {

0 commit comments

Comments
 (0)