mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 15:02:52 -05:00
Merge pull request #755 from paulkaplan/fix-extension-colors
Use category info that has colors when building menu blocks
This commit is contained in:
commit
034d1a9792
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ class Runtime extends EventEmitter {
|
||||||
for (const menuName in extensionInfo.menus) {
|
for (const menuName in extensionInfo.menus) {
|
||||||
if (extensionInfo.menus.hasOwnProperty(menuName)) {
|
if (extensionInfo.menus.hasOwnProperty(menuName)) {
|
||||||
const menuItems = extensionInfo.menus[menuName];
|
const menuItems = extensionInfo.menus[menuName];
|
||||||
const convertedMenu = this._buildMenuForScratchBlocks(menuName, menuItems, extensionInfo);
|
const convertedMenu = this._buildMenuForScratchBlocks(menuName, menuItems, categoryInfo);
|
||||||
categoryInfo.menus.push(convertedMenu);
|
categoryInfo.menus.push(convertedMenu);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue