Merge pull request #686 from paulkaplan/fix-extension-labels
Remove label generation for extensions
This commit is contained in:
commit
e4830dfe51
1 file changed
-2
@@ -531,8 +531,6 @@ class Runtime extends EventEmitter {
|
||||
for (const categoryInfo of this._blockInfo) {
|
||||
const {name, color1, color2} = categoryInfo;
|
||||
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('</category>');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user