mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-10 21:39:57 -04:00
Add extension id to toolbox category XML
This commit is contained in:
parent
b7f3a06fa0
commit
bdda3bc2c9
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…
Add table
Add a link
Reference in a new issue