primaryCategory check, all math blocks checked

This commit is contained in:
Loren Norman 2025-08-01 15:12:08 -04:00
parent 00e7074c38
commit dce355387e
6 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,4 @@
/** @type {import('#types').BlockDefinitionRaw} */
export default {
type: 'io_math_arithmetic',
bytecodeKey: "arithmetic",

View file

@ -1,3 +1,4 @@
/** @type {import('#types').BlockDefinitionRaw} */
export default {
type: 'io_logic_compare',
bytecodeKey: "",

View file

@ -1,3 +1,4 @@
/** @type {import('#types').BlockDefinitionRaw} */
export default {
type: "io_math_constrain",
bytecodeKey: "constrain",

View file

@ -1,3 +1,4 @@
/** @type {import('#types').BlockDefinitionRaw} */
export default {
type: "math_map",
bytecodeKey: "mapValue",

View file

@ -1,3 +1,4 @@
/** @type {import('#types').BlockDefinitionRaw} */
export default {
type: "io_math_round",
bytecodeKey: "round",

View file

@ -63,6 +63,9 @@
* @prop {(number|string)=} color A number or string from 0-360 that specifies a
* color in Blockly's radial color space
* @prop {(number|string)=} colour Alias for "color"
* @prop {string=} primaryCategory For blocks appearing in multiple categories,
* this property determines which menu this block will appear under in the
* docs.
* @prop {string} description Markdown documentation for this block. The first
* line will be automatically set as the Block's tooltip.
* @prop {BlockConnections} connections