mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 06:23:37 -05:00
Fix handling of custom field types
This commit is contained in:
parent
0a5673d5d3
commit
700e163abe
1 changed files with 4 additions and 2 deletions
|
@ -981,8 +981,10 @@ class Runtime extends EventEmitter {
|
||||||
fieldName: fieldName,
|
fieldName: fieldName,
|
||||||
extendedName: extendedName,
|
extendedName: extendedName,
|
||||||
argumentTypeInfo: {
|
argumentTypeInfo: {
|
||||||
shadowType: extendedName,
|
shadow: {
|
||||||
fieldType: `field_${extendedName}`
|
type: extendedName,
|
||||||
|
fieldName: `field_${extendedName}`
|
||||||
|
}
|
||||||
},
|
},
|
||||||
scratchBlocksDefinition: this._buildCustomFieldTypeForScratchBlocks(
|
scratchBlocksDefinition: this._buildCustomFieldTypeForScratchBlocks(
|
||||||
extendedName,
|
extendedName,
|
||||||
|
|
Loading…
Reference in a new issue