Skip to content
Snippets Groups Projects
Commit bb17aecf authored by sjhuang26's avatar sjhuang26
Browse files

Fix concat bug

parent 597eced6
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ export default function (vm) {
const backdropsMenu = function () {
if (vm.runtime.targets[0] && vm.runtime.targets[0].sprite.costumes.length > 0) {
return vm.runtime.targets[0].sprite.costumes.map(costume => [costume.name, costume.name])
.concat(['next backdrop', '_nextBackdrop_'], ['previous backdrop', '_prevBackdrop_']);
.concat([['next backdrop', '_nextBackdrop_'], ['previous backdrop', '_prevBackdrop_']]);
}
return [['', '']];
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment