Fix concat bug

This commit is contained in:
sjhuang26 committed 2017-12-29 09:39:19 -05:00
1 parent 597eced633
commit bb17aecf7a
1 file changed
+1 -1
+1 -1
View File
@@ -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 [['', '']];
};