mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 23:12:24 -05:00
Remove label generation for extensions
This commit is contained in:
parent
6087b5346c
commit
0358d6c0c3
1 changed files with 0 additions and 2 deletions
|
@ -523,8 +523,6 @@ class Runtime extends EventEmitter {
|
||||||
for (const categoryInfo of this._blockInfo) {
|
for (const categoryInfo of this._blockInfo) {
|
||||||
const {name, color1, color2} = categoryInfo;
|
const {name, color1, color2} = categoryInfo;
|
||||||
xmlParts.push(`<category name="${name}" colour="${color1}" secondaryColour="${color2}">`);
|
xmlParts.push(`<category name="${name}" colour="${color1}" secondaryColour="${color2}">`);
|
||||||
// @todo only add this label for user-loaded extensions?
|
|
||||||
xmlParts.push(`<label text="${name}" web-class="extensionLabel"/>`);
|
|
||||||
xmlParts.push.apply(xmlParts, categoryInfo.blocks.map(blockInfo => blockInfo.xml));
|
xmlParts.push.apply(xmlParts, categoryInfo.blocks.map(blockInfo => blockInfo.xml));
|
||||||
xmlParts.push('</category>');
|
xmlParts.push('</category>');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue