mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-03-14 01:09:51 -04:00
Merge pull request #1141 from ericrosenbaum/feature/extension-id-in-toolbox
Add extension id to toolbox category XML
This commit is contained in:
commit
73079c56b4
1 changed files with 1 additions and 1 deletions
|
@ -839,7 +839,7 @@ class Runtime extends EventEmitter {
|
|||
const menuIconXML = menuIconURI ?
|
||||
`iconURI="${menuIconURI}"` : '';
|
||||
|
||||
xmlParts.push(`<category name="${name}" ${colorXML} ${menuIconXML}>`);
|
||||
xmlParts.push(`<category name="${name}" id="${categoryInfo.id}" ${colorXML} ${menuIconXML}>`);
|
||||
xmlParts.push.apply(xmlParts, paletteBlocks.map(block => block.xml));
|
||||
xmlParts.push('</category>');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue