We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 660d56e + 5a9d618 commit 0f3a10dCopy full SHA for 0f3a10d
1 file changed
lib/sb3_definitions.json
@@ -9,6 +9,12 @@
9
{"type": "null"}
10
]
11
},
12
+ "optionalNumber": {
13
+ "oneOf": [
14
+ {"type": "number"},
15
+ {"type": "null"}
16
+ ]
17
+ },
18
"boolOrOptBoolString": {
19
"oneOf": [
20
{"type": "string",
@@ -294,8 +300,8 @@
294
300
"maxLength": 8000
295
301
296
302
"minimized": {"type": "boolean"},
297
- "x": {"type": "number"},
298
- "y": {"type": "number"},
303
+ "x": {"$ref": "#/definitions/optionalNumber"},
304
+ "y": {"$ref": "#/definitions/optionalNumber"},
299
305
"width": {"type": "number"},
306
"height": {"type": "number"}
307
0 commit comments