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,
|
||||
extendedName: extendedName,
|
||||
argumentTypeInfo: {
|
||||
shadowType: extendedName,
|
||||
fieldType: `field_${extendedName}`
|
||||
shadow: {
|
||||
type: extendedName,
|
||||
fieldName: `field_${extendedName}`
|
||||
}
|
||||
},
|
||||
scratchBlocksDefinition: this._buildCustomFieldTypeForScratchBlocks(
|
||||
extendedName,
|
||||
|
|
Loading…
Reference in a new issue