Skip to content

Commit 322f89d

Browse files
committed
Moving around refs
1 parent ecfc970 commit 322f89d

File tree

6 files changed

+277
-293
lines changed

6 files changed

+277
-293
lines changed

source/resource/ui/elements/properties/controls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"items": {
88
"additionalProperties": {
99
"title": "Sub Element",
10-
"$ref": "#/definitions/grouped"
10+
"$ref": "../../grouped-ui.json"
1111
}
1212
}
1313
},

source/resource/ui/elements/properties/factory.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,18 @@
11
{
22
"title": "Factory",
33
"description": "The factory that will be used to create the element.",
4-
"definitions": {
5-
"variables": {
6-
"title": "Variable Definition",
7-
"description": "A variable is a reference to a value that can be used in the UI."
8-
}
9-
},
104
"anyOf": [
115
{
126
"type": "object",
137
"additionalProperties": false,
148
"patternProperties": {
159
"^\\$.*": {
16-
"$ref": "#/definitions/variables"
10+
"$ref": "../../general/variables.json"
1711
}
1812
},
1913
"properties": {
2014
"control_ids": {
21-
"$ref": "#/definitions/control_ids"
15+
"$ref": "./control_ids.json"
2216
},
2317
"control_name": {
2418
"title": "Control Name",
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"title": "Variable Definition",
3+
"description": "A variable is a reference to a value that can be used in the UI."
4+
}

source/resource/ui/general/vec4.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"examples": ["default", "fill", ["100%", "100%"]],
23
"definitions": {
34
"size_coord": {
45
"oneOf": [
@@ -50,6 +51,5 @@
5051
}
5152
]
5253
}
53-
],
54-
"examples": ["default", "fill", ["100%", "100%"]]
54+
]
5555
}

0 commit comments

Comments
 (0)