Merge pull request #755 from paulkaplan/fix-extension-colors

Use category info that has colors when building menu blocks
This commit is contained in:
Paul Kaplan 2017-11-03 15:15:15 -04:00 committed by GitHub
commit 034d1a9792
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);
}
}