mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Merge pull request #1377 from paulkaplan/update-extension-names
Update the category info name when the extension is refreshed.
This commit is contained in:
commit
a069a295d7
1 changed files with 1 additions and 0 deletions
|
@ -565,6 +565,7 @@ class Runtime extends EventEmitter {
|
|||
let extensionBlocks = [];
|
||||
for (const categoryInfo of this._blockInfo) {
|
||||
if (extensionInfo.id === categoryInfo.id) {
|
||||
categoryInfo.name = maybeFormatMessage(extensionInfo.name);
|
||||
categoryInfo.blocks = [];
|
||||
categoryInfo.menus = [];
|
||||
this._fillExtensionCategory(categoryInfo, extensionInfo);
|
||||
|
|
Loading…
Reference in a new issue