Use category info that has colors when building menu blocks

This commit is contained in:
Paul Kaplan 2017-11-03 13:50:50 -04:00
parent e2ac6947af
commit c1ba902ebb

View file

@ -433,7 +433,7 @@ class Runtime extends EventEmitter {
for (const menuName in extensionInfo.menus) {
if (extensionInfo.menus.hasOwnProperty(menuName)) {
const menuItems = extensionInfo.menus[menuName];
const convertedMenu = this._buildMenuForScratchBlocks(menuName, menuItems, extensionInfo);
const convertedMenu = this._buildMenuForScratchBlocks(menuName, menuItems, categoryInfo);
categoryInfo.menus.push(convertedMenu);
}
}